Test that we print MS keyword attributes without a __declspec(...) adornment.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jan 2013 02:31:57 +0000 (02:31 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jan 2013 02:31:57 +0000 (02:31 +0000)
llvm-svn: 173754

clang/test/Sema/attr-print.c

index 5e4c0c2..b523c18 100644 (file)
@@ -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;