[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaTemplate / instantiate-explicitly-after-fatal.cpp
blob9693d2fc6c059bad1219e6569aaf043007cbb42c
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
5 template <typename>
6 class Bar {};
8 extern template class Bar<int>;
9 template class Bar<int>;