diff options
Diffstat (limited to 'test/CodeGen/va_list_test.c')
-rw-r--r-- | test/CodeGen/va_list_test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/va_list_test.c b/test/CodeGen/va_list_test.c new file mode 100644 index 0000000..74f7837 --- /dev/null +++ b/test/CodeGen/va_list_test.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck -check-prefix=SVR4-CHECK %s + +#include <stdarg.h> + +int va_list_size = sizeof(va_list); +// SVR4-CHECK: va_list_size = global i32 12, align 4 |