]> granicus.if.org Git - clang/commitdiff
Add a test case for attribute print.
authorMichael Han <fragmentshaders@gmail.com>
Tue, 29 Jan 2013 04:13:20 +0000 (04:13 +0000)
committerMichael Han <fragmentshaders@gmail.com>
Tue, 29 Jan 2013 04:13:20 +0000 (04:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173765 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/attr-print.cpp

index 419f608c04fc13423b5bcb80d523d14bf9a44f0a..c7335c5e3bf8774f4c1d92cfd7e02d671e2cb7cc 100644 (file)
@@ -14,3 +14,7 @@ void foo() __attribute__((const));
 
 // CHECK: void bar() __attribute__((__const));
 void bar() __attribute__((__const));
+
+// FIXME: Print this with correct format and order.
+// CHECK: void foo1() __attribute__((pure)) __attribute__((noinline));
+void foo1() __attribute__((noinline, pure));