]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173754 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/attr-print.c

index 5e4c0c2d1eb4d06e8d61b07b26f4148ae39cf91c..b523c18cab8c53966604f1eeefe52cd074273232 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;