summaryrefslogtreecommitdiff
path: root/clang/test/Sema/pragma-align-mac68k-unsupported.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/pragma-align-mac68k-unsupported.c')
-rw-r--r--clang/test/Sema/pragma-align-mac68k-unsupported.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Sema/pragma-align-mac68k-unsupported.c b/clang/test/Sema/pragma-align-mac68k-unsupported.c
new file mode 100644
index 0000000..c23c01b
--- /dev/null
+++ b/clang/test/Sema/pragma-align-mac68k-unsupported.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -fsyntax-only -verify %s
+
+/* expected-error {{mac68k alignment pragma is not supported}} */ #pragma options align=mac68k