From: Enea Zaffanella Date: Thu, 21 Nov 2013 16:43:28 +0000 (+0000) Subject: Added testcase for r195255. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5399ef8e250a1a00d7f14d2c2e502382094dbfee;p=clang Added testcase for r195255. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195366 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/ast-print.cpp b/test/SemaCXX/ast-print.cpp index a1975b4ac2..977ba7afa4 100644 --- a/test/SemaCXX/ast-print.cpp +++ b/test/SemaCXX/ast-print.cpp @@ -164,3 +164,12 @@ void test13() { void test14() { struct X { union { int x; } x; }; } + + +// CHECK: float test15() { +// CHECK: return __builtin_asinf(1.F); +// CHECK: } +// CHECK-NOT: extern "C" +float test15() { + return __builtin_asinf(1.0F); +}