aboutsummaryrefslogtreecommitdiffstats
path: root/test/libcxx/test/format.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/test/format.py')
-rw-r--r--test/libcxx/test/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libcxx/test/format.py b/test/libcxx/test/format.py
index ca934a4b395f..aaa9a1845ae4 100644
--- a/test/libcxx/test/format.py
+++ b/test/libcxx/test/format.py
@@ -161,7 +161,7 @@ class LibcxxTestFormat(object):
'expected-error', 'expected-no-diagnostics']
use_verify = self.use_verify_for_fail and \
any([tag in contents for tag in verify_tags])
- extra_flags = []
+ extra_flags = ['-fsyntax-only']
if use_verify:
extra_flags += ['-Xclang', '-verify',
'-Xclang', '-verify-ignore-unexpected=note']