aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/ext/is_empty2.C
blob: d1bf64c0a628e2ec4bbcd6230da1f6b3b1f8df34 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/36797

template <int> struct A { };

template <class T>
int foo (A<__is_empty (T)>* = 0); // { dg-error "built-in trait" }

int main ()
{
    foo<int>();
}