]> granicus.if.org Git - clang/commitdiff
[mips] Add one more check to the micromips attribute test case. NFC
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 22 May 2017 15:53:34 +0000 (15:53 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Mon, 22 May 2017 15:53:34 +0000 (15:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303565 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/attr-micromips.c

index 95f22a571e44858f1da3e080744f7371a06f2229..fe587fa3db07824ed7b9c6bc3ba6db1693971759 100644 (file)
@@ -13,3 +13,5 @@ __attribute__((mips16,micromips)) void foo6();  // expected-error {{'mips16' and
 
 __attribute((micromips)) void foo7();
 __attribute((nomicromips)) void foo8();
+__attribute__((mips16)) void foo9(void) __attribute__((micromips)); // expected-error {{'micromips' and 'mips16' attributes are not compatible}} \
+                                                                    // expected-note {{conflicting attribute is here}}