summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/PR8385.cpp
blob: 77a117a007df02e8c9bf74c70baf4cb25863bafd (about) (plain)
1
2
3
4
5
6
7
// 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{