From 7c7e531f973e59b7db03476271c955bf9130df09 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 26 Oct 2018 03:21:20 +0000 Subject: PR31978: Don't crash if CodeGen sees a top-level BindingDecl. llvm-svn: 345362 --- clang/test/Parser/cxx1z-decomposition.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/test/Parser/cxx1z-decomposition.cpp') 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; }; -- cgit v1.2.3