summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/mips16_attr_allowed.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/mips16_attr_allowed.c')
-rw-r--r--clang/test/Sema/mips16_attr_allowed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/mips16_attr_allowed.c b/clang/test/Sema/mips16_attr_allowed.c
index 58b4a865a22..c712e902f5f 100644
--- a/clang/test/Sema/mips16_attr_allowed.c
+++ b/clang/test/Sema/mips16_attr_allowed.c
@@ -13,8 +13,8 @@ void foo16_();
void foo32__() __attribute__((nomips16));
void foo32__() __attribute__((mips16));
-void foo32a() __attribute__((nomips16(xyz))) ; // expected-error {{'nomips16' attribute takes no arguments}}
-void __attribute__((mips16(xyz))) foo16a(); // expected-error {{'mips16' attribute takes no arguments}}
+void foo32a() __attribute__((nomips16(0))) ; // expected-error {{'nomips16' attribute takes no arguments}}
+void __attribute__((mips16(1))) foo16a(); // expected-error {{'mips16' attribute takes no arguments}}
void __attribute__((nomips16(1, 2))) foo32b(); // expected-error {{'nomips16' attribute takes no arguments}}
void __attribute__((mips16(1, 2))) foo16b(); // expected-error {{'mips16' attribute takes no arguments}}
OpenPOWER on IntegriCloud