From 925213b0fa3f9bbbe949326bb89a8d774c05994b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 4 Jul 2013 16:16:58 +0000 Subject: Add 'not' to commands that are expected to fail. This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652 --- clang/test/Lexer/cxx0x_raw_string_unterminated.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Lexer/cxx0x_raw_string_unterminated.cpp') diff --git a/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp b/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp index dfbaaeee1e7..be134f8cb51 100644 --- a/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp +++ b/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++11 -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"' +// RUN: not %clang_cc1 -std=c++11 -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"' const char *str = R"foo(abc def)bar"; -- cgit v1.2.3