commit | 7c7e531f973e59b7db03476271c955bf9130df09 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Oct 26 03:21:20 2018 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Oct 26 03:21:20 2018 +0000 |
tree | 3790ac036fd5eaf23146855f79596484cca47fab | |
parent | 6a74bfba20489e3707673c393bf7a1495cd1506a [diff] [blame] |
PR31978: Don't crash if CodeGen sees a top-level BindingDecl. llvm-svn: 345362
diff --git a/clang/test/Parser/cxx1z-decomposition.cpp b/clang/test/Parser/cxx1z-decomposition.cpp index cf4ba77..1e184a7 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; };