From fa399229296ba75b2fb3f7b6891c28a3e369ae38 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303565 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/attr-micromips.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Sema/attr-micromips.c b/test/Sema/attr-micromips.c index 95f22a571e..fe587fa3db 100644 --- a/test/Sema/attr-micromips.c +++ b/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}} -- 2.40.0