clang/test/CodeGenCXX/debug-info-static-member.cpp: Appease targetting msvc to add...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 25 Jan 2013 05:58:53 +0000 (05:58 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 25 Jan 2013 05:58:53 +0000 (05:58 +0000)
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

clang/test/CodeGenCXX/debug-info-static-member.cpp

index 953db58..774f7b1 100644 (file)
@@ -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