summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/for-range-temporaries.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-04-15 10:12:39 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-04-15 10:12:39 +0000
commit3504faf6e48f939a80ce904ef47d6cf3b3064501 (patch)
tree98f0e8371417f81a48350ca974ef7af5ea01cc25 /clang/test/CodeGenCXX/for-range-temporaries.cpp
parent53ba5ee4ce3c2e444a14a4d1661285728fe5d9d0 (diff)
downloadbcm5719-llvm-3504faf6e48f939a80ce904ef47d6cf3b3064501.tar.gz
bcm5719-llvm-3504faf6e48f939a80ce904ef47d6cf3b3064501.zip
Apply NAKAMURA Takumi's workaround to fix thses tests on -Asserts build. The labels there are numbered, not named, and numbered labels are formatted differently.
llvm-svn: 129562
Diffstat (limited to 'clang/test/CodeGenCXX/for-range-temporaries.cpp')
-rw-r--r--clang/test/CodeGenCXX/for-range-temporaries.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/for-range-temporaries.cpp b/clang/test/CodeGenCXX/for-range-temporaries.cpp
index 285862f51f6..be594ce5223 100644
--- a/clang/test/CodeGenCXX/for-range-temporaries.cpp
+++ b/clang/test/CodeGenCXX/for-range-temporaries.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -UDESUGAR %s | FileCheck %s
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -DDESUGAR %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -UDESUGAR %s | opt -instnamer -S | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -DDESUGAR %s | opt -instnamer -S | FileCheck %s
struct A {
A();
OpenPOWER on IntegriCloud