r303565 - [mips] Add one more check to the micromips attribute test case. NFC

Simon Atanasyan via cfe-commits cfe-commits at lists.llvm.org
Mon May 22 08:53:35 PDT 2017


Author: atanasyan
Date: Mon May 22 10:53:34 2017
New Revision: 303565

URL: http://llvm.org/viewvc/llvm-project?rev=303565&view=rev
Log:
[mips] Add one more check to the micromips attribute test case. NFC

Modified:
    cfe/trunk/test/Sema/attr-micromips.c

Modified: cfe/trunk/test/Sema/attr-micromips.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/attr-micromips.c?rev=303565&r1=303564&r2=303565&view=diff
==============================================================================
--- cfe/trunk/test/Sema/attr-micromips.c (original)
+++ cfe/trunk/test/Sema/attr-micromips.c Mon May 22 10:53:34 2017
@@ -13,3 +13,5 @@ __attribute__((mips16,micromips)) void f
 
 __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}}




More information about the cfe-commits mailing list