summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-01-25 05:58:53 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-01-25 05:58:53 +0000
commiteed02e944c07470190a853203f73ade764e92260 (patch)
tree4e0124185e5d93ac4d533c52843d4d977d3ee33c
parentceff222dea8266f7edeee65e5d1fdf62adc1d120 (diff)
downloadbcm5719-llvm-eed02e944c07470190a853203f73ade764e92260.tar.gz
bcm5719-llvm-eed02e944c07470190a853203f73ade764e92260.zip
clang/test/CodeGenCXX/debug-info-static-member.cpp: Appease targetting msvc to add explicit -target x86_64-unknown-unknown.
with -target i686-win32, you will see; debug-info-static-member.cpp:11:22: error: in-class initializer for static data member of type 'const float' requires 'constexpr' specifier [-Wstatic-float-init] const static float const_b = 3.14; ^ ~~~~ constexpr llvm-svn: 173418
-rw-r--r--clang/test/CodeGenCXX/debug-info-static-member.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-static-member.cpp b/clang/test/CodeGenCXX/debug-info-static-member.cpp
index 953db582f87..774f7b1727c 100644
--- a/clang/test/CodeGenCXX/debug-info-static-member.cpp
+++ b/clang/test/CodeGenCXX/debug-info-static-member.cpp
@@ -1,4 +1,4 @@
-// RUN: %clangxx -g -O0 %s -emit-llvm -S -o - | FileCheck %s
+// RUN: %clangxx -target x86_64-unknown-unknown -g -O0 %s -emit-llvm -S -o - | FileCheck %s
// PR14471
OpenPOWER on IntegriCloud