r223870 - Tweak test case from r223842 to make it pass on Windows MSVC

Reid Kleckner reid at kleckner.net
Tue Dec 9 16:47:33 PST 2014


Author: rnk
Date: Tue Dec  9 18:47:33 2014
New Revision: 223870

URL: http://llvm.org/viewvc/llvm-project?rev=223870&view=rev
Log:
Tweak test case from r223842 to make it pass on Windows MSVC

We can't mangle __complex yet, and there is no C1 emission.

Modified:
    cfe/trunk/test/CodeGenCXX/debug-info-line.cpp

Modified: cfe/trunk/test/CodeGenCXX/debug-info-line.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-line.cpp?rev=223870&r1=223869&r2=223870&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-line.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-line.cpp Tue Dec  9 18:47:33 2014
@@ -2,8 +2,8 @@
 
 int &src();
 int *sink();
-__complex float complex_src();
-__complex float *complex_sink();
+extern "C" __complex float complex_src();
+extern "C" __complex float *complex_sink();
 
 // CHECK-LABEL: define
 void f1() {
@@ -33,10 +33,7 @@ foo::foo()
       (complex_src()) {
 }
 
-// skip C1
-// CHECK-LABEL: define
-
-// CHECK-LABEL: define
+// CHECK-LABEL: define {{.*}}f2{{.*}}
 void f2() {
 #line 300
   * // CHECK: store float {{.*}} !dbg [[DBG_F2:!.*]]





More information about the cfe-commits mailing list