From 9812d231ed502bfad2bafe2a3c49eb2fe8da14ca Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Mon, 22 May 2017 15:53:34 +0000 Subject: [PATCH] [mips] Add one more check to the micromips attribute test case. NFC llvm-svn: 303565 --- clang/test/Sema/attr-micromips.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/test/Sema/attr-micromips.c b/clang/test/Sema/attr-micromips.c index 95f22a571e44..fe587fa3db07 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}}