aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-01-29 02:31:57 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-01-29 02:31:57 +0000
commitcae4a5ca43323eb861d702f880a6c62dd5ef4fc5 (patch)
treee6962672927994b5cff475f7809bc35223d354e4
parent33f04a208a1a6e73da73460142327ff05e8c391b (diff)
Test that we print MS keyword attributes without a __declspec(...) adornment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173754 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/attr-print.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Sema/attr-print.c b/test/Sema/attr-print.c
index 5e4c0c2d1e..b523c18cab 100644
--- a/test/Sema/attr-print.c
+++ b/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;