xref: /aosp_15_r20/external/clang/test/SemaCXX/PR8385.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: not %clang_cc1 -fsyntax-only %s
2*67e74705SXin Li 
3*67e74705SXin Li // don't crash on this, but don't constrain our diagnostics here as they're
4*67e74705SXin Li // currently rather poor (we even accept things like "template struct {}").
5*67e74705SXin Li // Other, explicit tests, should verify the relevant behavior of template
6*67e74705SXin Li // instantiation.
7*67e74705SXin Li struct{template struct{
8