diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-29 02:31:57 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-29 02:31:57 +0000 |
commit | 210b67d22107e125ce55d40834cb274b190fa80b (patch) | |
tree | 6ea3bd247c8119f5039a65791d9451d63d56bc83 /clang/test/Sema | |
parent | b84a9dbf6b787f10cffe43a825a0b75b6f87fec2 (diff) | |
download | bcm5719-llvm-210b67d22107e125ce55d40834cb274b190fa80b.tar.gz bcm5719-llvm-210b67d22107e125ce55d40834cb274b190fa80b.zip |
Test that we print MS keyword attributes without a __declspec(...) adornment.
llvm-svn: 173754
Diffstat (limited to 'clang/test/Sema')
-rw-r--r-- | clang/test/Sema/attr-print.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Sema/attr-print.c b/clang/test/Sema/attr-print.c index 5e4c0c2d1eb..b523c18cab8 100644 --- a/clang/test/Sema/attr-print.c +++ b/clang/test/Sema/attr-print.c @@ -15,3 +15,10 @@ void foo() __attribute__((const)); // CHECK: void bar() __attribute__((__const)); void bar() __attribute__((__const)); + +// FIXME: Print these at a valid location for these attributes. +// CHECK: int *p32 __ptr32; +int * __ptr32 p32; + +// CHECK: int *p64 __ptr64; +int * __ptr64 p64; |