[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / SemaTemplate / instantiate-after-fatal-cxx17.cpp
blob3e0ddf1ae60fbfd07534862e3129a42a50a3a120
1 // RUN: not %clang_cc1 -std=c++17 -fsyntax-only -ferror-limit 1 %s 2>&1 | FileCheck %s
3 #error Error 1
4 #error Error 2
5 // CHECK: fatal error: too many errors emitted, stopping now
7 namespace rdar39051732 {
9 template<class T> struct A {
10 template <class U> A(T&, ...);
12 // Deduction guide triggers constructor instantiation.
13 template<class T> A(const T&, const T&) -> A<T&>;