summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/enum10.C
blob: 55a1ab46be1cf2e2283917505916c5d81eddbef5 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/48534
// { dg-options -std=c++0x }

enum class OpSE : bool;

int main()
{
  return static_cast<bool>(OpSE());
}