summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/regress/enum1.C
blob: 6e29f9ea92385cf2b5278f10eb52bd91b15a8727 (plain)
1
2
3
4
5
6
7
8
// PR c++/47482
// { dg-options -std=c++0x }

template<class>
struct K
{
  enum { A = sizeof"A", B = +A };
};