diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2017-05-22 15:53:34 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2017-05-22 15:53:34 +0000 |
commit | 9812d231ed502bfad2bafe2a3c49eb2fe8da14ca (patch) | |
tree | 8194bbe87fb07f55e0cfbb6ceeb9925bfa14ad6b | |
parent | 71134357871a53b147f0daa5eeff5a8ff6ec1e68 (diff) | |
download | bcm5719-llvm-9812d231ed502bfad2bafe2a3c49eb2fe8da14ca.tar.gz bcm5719-llvm-9812d231ed502bfad2bafe2a3c49eb2fe8da14ca.zip |
[mips] Add one more check to the micromips attribute test case. NFC
llvm-svn: 303565
-rw-r--r-- | clang/test/Sema/attr-micromips.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Sema/attr-micromips.c b/clang/test/Sema/attr-micromips.c index 95f22a571e4..fe587fa3db0 100644 --- a/clang/test/Sema/attr-micromips.c +++ b/clang/test/Sema/attr-micromips.c @@ -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}} |