summaryrefslogtreecommitdiffstats
path: root/test/Sema/varargs-aix.c
diff options
context:
space:
mode:
authorJason Liu <jasonliu.development@gmail.com>2019-03-14 21:54:30 +0000
committerJason Liu <jasonliu.development@gmail.com>2019-03-14 21:54:30 +0000
commit849c99fd3c688b3414cf31ab4c11ae5db27abb11 (patch)
tree307dc51b317d2a19ab86974338982e1362e3b044 /test/Sema/varargs-aix.c
parentbb8bb54e3357f85510e22cebf5cb21e89a57ffb1 (diff)
Reland the rest of "Add AIX Target Info"
llvm-svn 356197 relanded previously failing test case max_align.c. This commit will reland the rest of llvm-svn 356060 commit. Differential Revision: https://reviews.llvm.org/D59048 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/varargs-aix.c')
-rw-r--r--test/Sema/varargs-aix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Sema/varargs-aix.c b/test/Sema/varargs-aix.c
new file mode 100644
index 0000000000..5aaa209069
--- /dev/null
+++ b/test/Sema/varargs-aix.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple powerpc-ibm-aix
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple powerpc64-ibm-aix
+// expected-no-diagnostics
+
+extern __builtin_va_list ap;
+extern char *ap;