diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-12 17:39:59 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-12 17:39:59 +0000 |
commit | 5c2021bf2a6ecfd4b8b04b4e3d9c9de9e07ae021 (patch) | |
tree | 9ba1d9aabb91e16dc7eee0b660123d257bc75769 /clang/test/Parser/pragma-options.cpp | |
parent | 3f7e7c061c9ef9c3452c25da2ac7ea1bb4079509 (diff) | |
download | bcm5719-llvm-5c2021bf2a6ecfd4b8b04b4e3d9c9de9e07ae021.tar.gz bcm5719-llvm-5c2021bf2a6ecfd4b8b04b4e3d9c9de9e07ae021.zip |
Handle a "#pragma options align" inside a class.
llvm-svn: 165810
Diffstat (limited to 'clang/test/Parser/pragma-options.cpp')
-rw-r--r-- | clang/test/Parser/pragma-options.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Parser/pragma-options.cpp b/clang/test/Parser/pragma-options.cpp new file mode 100644 index 00000000000..152aacb8fd1 --- /dev/null +++ b/clang/test/Parser/pragma-options.cpp @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s + +class C { +#pragma options align=natural +}; |