llvm-for-llvmta/tools/clang/test/SemaCXX/PR8385.cpp

8 lines
310 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang_cc1 -fsyntax-only %s
// don't crash on this, but don't constrain our diagnostics here as they're
// currently rather poor (we even accept things like "template struct {}").
// Other, explicit tests, should verify the relevant behavior of template
// instantiation.
struct{template struct{