diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-20 21:20:51 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-20 21:20:51 +0000 | 
| commit | 583e75cce441388bc562fa225d23499261a0091e (patch) | |
| tree | 5944a7c248d4a8c858db45abc3444eb69270a3c8 /test/Lexer/cxx1z-trigraphs.cpp | |
| parent | 7442d6faa2719e4e7d33a7021c406c5a4facd74d (diff) | |
Diffstat (limited to 'test/Lexer/cxx1z-trigraphs.cpp')
| -rw-r--r-- | test/Lexer/cxx1z-trigraphs.cpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/test/Lexer/cxx1z-trigraphs.cpp b/test/Lexer/cxx1z-trigraphs.cpp index 0ea2adbe1e03..08c45e51f833 100644 --- a/test/Lexer/cxx1z-trigraphs.cpp +++ b/test/Lexer/cxx1z-trigraphs.cpp @@ -1,5 +1,5 @@  // RUN: %clang_cc1 -std=c++1z %s -verify -// RUN: %clang_cc1 -std=c++1z %s -ftrigraphs -fsyntax-only +// RUN: %clang_cc1 -std=c++1z %s -ftrigraphs -fsyntax-only 2>&1 | FileCheck --check-prefix=TRIGRAPHS %s  ??= define foo ; // expected-error {{}} expected-warning {{trigraph ignored}} @@ -7,3 +7,8 @@ static_assert("??="[0] == '#', ""); // expected-error {{failed}} expected-warnin  // ??/  error here; // expected-error {{}} + +// Note, there is intentionally trailing whitespace two lines below. +// TRIGRAPHS: :[[@LINE+1]]:{{.*}} backslash and newline separated by space +// ??/   +error here; // expected-error {{}} | 
