summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/references.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-04 16:16:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-04 16:16:58 +0000
commit96e7813f08c6adf1d8657b0da86741b54e850fd7 (patch)
treed0e93406ffb173f5a8f55f9e9cd62c09e6dd7b40 /test/CodeGenCXX/references.cpp
parent3c7511a44d20d0fd9e287747eb58a00215c57533 (diff)
Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of using pipefail. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/references.cpp')
-rw-r--r--test/CodeGenCXX/references.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/references.cpp b/test/CodeGenCXX/references.cpp
index df5a33686e..35dd14e5d3 100644
--- a/test/CodeGenCXX/references.cpp
+++ b/test/CodeGenCXX/references.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -verify -emit-llvm -o - %s | FileCheck %s
+// RUN: not %clang_cc1 -triple x86_64-apple-darwin -verify -emit-llvm -o - %s | FileCheck %s
void t1() {
// CHECK: define void @_Z2t1v
// CHECK: [[REFLOAD:%.*]] = load i32** @a, align 8