Eric Christopher | b025734 | 2011-07-26 21:42:32 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -w -emit-llvm -o - |
2 | |||||
3 | float test(int X, ...) { | ||||
4 | __builtin_va_list ap; | ||||
5 | float F; | ||||
6 | __builtin_va_start(ap, X); | ||||
7 | F = __builtin_va_arg(ap, float); | ||||
8 | return F; | ||||
9 | } |