commit | e7591c511831aa66afe06902a408647535da6a4d | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Tue Mar 13 23:33:06 2012 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Tue Mar 13 23:33:06 2012 +0000 |
tree | f7e75db49cd79e37be336f68dd3d0edb70af955c | |
parent | 6cc0969ab37c614d6cf496f2ed6d2fca397a0133 [diff] |
Add a test case for PR8385. "struct{template struct{" would fail an assertion. This assertion failure seems to have gone away somewhere along the line so here's a test to make sure we don't regress. We still accept some very weird explicit template 'instantiations' ("template int;", anyone) but at least we're not asserting/crashing here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152681 91177308-0d34-0410-b5e6-96231b3b80d8