]> granicus.if.org Git - clang/commitdiff
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173418 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 953db582f87f864205a0bdf6305238f6c2c7e1f8..774f7b1727c3fcf9a2cb9501c6c0959208b868aa 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