summaryrefslogtreecommitdiffstats
path: root/test/Parser/pragma-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/pragma-options.cpp')
-rw-r--r--test/Parser/pragma-options.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/pragma-options.cpp b/test/Parser/pragma-options.cpp
new file mode 100644
index 0000000..84cd38d
--- /dev/null
+++ b/test/Parser/pragma-options.cpp
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
+
+class C {
+#pragma options align=natural
+};
OpenPOWER on IntegriCloud