YouCompleteMe/cpp/llvm/tools/clang/test/SemaCXX/PR8385.cpp
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

8 lines
310 B
C++

// 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{