From: Reid Kleckner Date: Wed, 10 Dec 2014 00:47:33 +0000 (+0000) Subject: Tweak test case from r223842 to make it pass on Windows MSVC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2379c9ee3e42eaa963f28a9a6352ff93ae431782;p=clang Tweak test case from r223842 to make it pass on Windows MSVC We can't mangle __complex yet, and there is no C1 emission. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223870 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/debug-info-line.cpp b/test/CodeGenCXX/debug-info-line.cpp index 25db99fd46..878c3ac33f 100644 --- a/test/CodeGenCXX/debug-info-line.cpp +++ b/test/CodeGenCXX/debug-info-line.cpp @@ -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:!.*]]