From: Rafael Espindola Date: Sat, 27 Oct 2012 04:54:49 +0000 (+0000) Subject: Add a reduced testcase of the last bootstrap failure. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3954d394e42e63b15b1a3634e4c93e0986c75a6d;p=clang Add a reduced testcase of the last bootstrap failure. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166866 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/crashes.cpp b/test/SemaCXX/crashes.cpp index d02704c87c..1c72baca08 100644 --- a/test/SemaCXX/crashes.cpp +++ b/test/SemaCXX/crashes.cpp @@ -136,3 +136,15 @@ cc_YCbCr cc_hsl::YCbCr() } } + +namespace test1 { + int getString(const int*); + template class ELFObjectFile { + const int* sh; + ELFObjectFile() { + switch (*sh) { + } + int SectionName(getString(sh)); + } + }; +}