r195366 - Added testcase for r195255.

Enea Zaffanella zaffanella at cs.unipr.it
Thu Nov 21 08:43:28 PST 2013


Author: enea
Date: Thu Nov 21 10:43:28 2013
New Revision: 195366

URL: http://llvm.org/viewvc/llvm-project?rev=195366&view=rev
Log:
Added testcase for r195255.

Modified:
    cfe/trunk/test/SemaCXX/ast-print.cpp

Modified: cfe/trunk/test/SemaCXX/ast-print.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/ast-print.cpp?rev=195366&r1=195365&r2=195366&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/ast-print.cpp (original)
+++ cfe/trunk/test/SemaCXX/ast-print.cpp Thu Nov 21 10:43:28 2013
@@ -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);
+}





More information about the cfe-commits mailing list