summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx1z-decomposition.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-10-26 03:21:20 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-10-26 03:21:20 +0000
commit7c7e531f973e59b7db03476271c955bf9130df09 (patch)
tree3790ac036fd5eaf23146855f79596484cca47fab /clang/test/Parser/cxx1z-decomposition.cpp
parent6a74bfba20489e3707673c393bf7a1495cd1506a (diff)
downloadbcm5719-llvm-7c7e531f973e59b7db03476271c955bf9130df09.tar.gz
bcm5719-llvm-7c7e531f973e59b7db03476271c955bf9130df09.zip
PR31978: Don't crash if CodeGen sees a top-level BindingDecl.
llvm-svn: 345362
Diffstat (limited to 'clang/test/Parser/cxx1z-decomposition.cpp')
-rw-r--r--clang/test/Parser/cxx1z-decomposition.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Parser/cxx1z-decomposition.cpp b/clang/test/Parser/cxx1z-decomposition.cpp
index cf4ba77723a..1e184a7fac5 100644
--- a/clang/test/Parser/cxx1z-decomposition.cpp
+++ b/clang/test/Parser/cxx1z-decomposition.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++1z %s -verify -fcxx-exceptions
+// RUN: not %clang_cc1 -std=c++1z %s -emit-llvm-only -fcxx-exceptions
struct S { int a, b, c; };
OpenPOWER on IntegriCloud