-fsyntax-only for a test

llvm-svn: 207814
This commit is contained in:
Lubos Lunak 2014-05-01 23:58:20 +00:00
parent 51af519db3
commit d9070c5ee7
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
// RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1
// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros %s 2>&1 > %t.2
// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2
// RUN: diff %t.1 %t.2 -u
// expected-no-diagnostics