summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2017-10-17 20:49:30 +0000
committerAaron Ballman <aaron@aaronballman.com>2017-10-17 20:49:30 +0000
commitb95dc1f79417ee1ba17cd668e923508a7fd1d22d (patch)
treeee09976c8f666ce884213c82594ef7d46480cd75 /clang
parent1a81dfba97c5b50d6969bfe55c1f7c42e9d6db9e (diff)
downloadbcm5719-llvm-b95dc1f79417ee1ba17cd668e923508a7fd1d22d.tar.gz
bcm5719-llvm-b95dc1f79417ee1ba17cd668e923508a7fd1d22d.zip
This test case was missing -fsyntax-only, so I've added it. NFC to the actual test contents, just how the test is executed.
llvm-svn: 316028
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp b/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp
index e7c90339a21..f267d9067bc 100644
--- a/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp
+++ b/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++1z -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++1z -verify %s
void f(int n) {
switch (n) {
OpenPOWER on IntegriCloud