summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr68724.C
blob: ff6d84dc3f7b26c8f0a98772fe92a253e3001fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR 68724 ICE in  unificiation
// { dg-do compile { target c++11 } }

template <typename _Tp, _Tp>
struct integral_constant
{
};

integral_constant<bool, true> inst;

template <typename _Tp>
struct integral_constant<bool, __is_enum(_Tp)> // { dg-error "" }
{
};