1 | // RUN: not %clang_cc1 -fsyntax-only -std=c++11 -ferror-limit 1 %s 2>&1 | FileCheck %s |
---|---|
2 | unknown_type foo(unknown_type); |
3 | // CHECK: fatal error: too many errors emitted, stopping now |
4 | |
5 | template <typename> |
6 | class Bar {}; |
7 | |
8 | extern template class Bar<int>; |
9 | template class Bar<int>; |
10 |