mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
5eb6039f16
Get rid of code-path that (according to Richard Smith) is not needed but leads to a crasher bug when assuming a template has been fully instantiated and thus has a definition. llvm-svn: 240752
10 lines
273 B
C++
10 lines
273 B
C++
// RUN: not %clang_cc1 -fsyntax-only -std=c++11 -ferror-limit 1 %s 2>&1 | FileCheck %s
|
|
unknown_type foo(unknown_type);
|
|
// CHECK: fatal error: too many errors emitted, stopping now
|
|
|
|
template <typename>
|
|
class Bar {};
|
|
|
|
extern template class Bar<int>;
|
|
template class Bar<int>;
|