summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-anonymous-union.cpp
blob: 4eb5b0c24cb0e3ac19bb116b51e662c39f106e12 (plain)
1
2
3
4
5
6
7
8
// RUN: clang-cc -fsyntax-only %s

// FIXME: We need to test anonymous structs/unions in templates for real.

template <typename T> class A { struct { }; };

A<int> a0;

OpenPOWER on IntegriCloud