From: Roman Divacky Date: Thu, 4 Jul 2013 21:29:24 +0000 (+0000) Subject: Add test for r185584. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a535daff4bd1390bb80b42a2a34d2c00f8a714d7;p=clang Add test for r185584. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185668 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/attr-mode.c b/test/Sema/attr-mode.c index 0b28532eee..f8cc4dc648 100644 --- a/test/Sema/attr-mode.c +++ b/test/Sema/attr-mode.c @@ -58,6 +58,7 @@ void test_long_to_ui64(unsigned long long* y) { f_ui64_arg(y); } #elif TEST_64BIT_X86 void test_long_to_i64(long* y) { f_i64_arg(y); } void test_long_to_ui64(unsigned long* y) { f_ui64_arg(y); } +typedef float f128ibm __attribute__ ((mode (TF))); // expected-error{{unsupported machine mode 'TF'}} #elif TEST_64BIT_PPC64 typedef float f128ibm __attribute__ ((mode (TF))); typedef _Complex float c128ibm __attribute__ ((mode (TC)));