summaryrefslogtreecommitdiffstats
path: root/test/Sema/stdcall-fastcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/stdcall-fastcall.c')
-rw-r--r--test/Sema/stdcall-fastcall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/stdcall-fastcall.c b/test/Sema/stdcall-fastcall.c
index 4531eb2..eeacf94 100644
--- a/test/Sema/stdcall-fastcall.c
+++ b/test/Sema/stdcall-fastcall.c
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-pc-linux-gnu %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-darwin10 %s
// CC qualifier can be applied only to functions
int __attribute__((stdcall)) var1; // expected-warning{{'stdcall' only applies to function types; type here is 'int'}}
OpenPOWER on IntegriCloud