]> granicus.if.org Git - clang/commitdiff
Added testcase for r195255.
authorEnea Zaffanella <zaffanella@cs.unipr.it>
Thu, 21 Nov 2013 16:43:28 +0000 (16:43 +0000)
committerEnea Zaffanella <zaffanella@cs.unipr.it>
Thu, 21 Nov 2013 16:43:28 +0000 (16:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195366 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/ast-print.cpp

index a1975b4ac2644b9a0a0f9b2efe8cd00dc9f56b1f..977ba7afa4dbfc82f205610ea13272f3c83e68e6 100644 (file)
@@ -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);
+}