Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaTemplate/instantiate-explicitly-after-fatal.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// 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>;