summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/enum1.C
blob: 9422814e271632b42bcbc301a130cfa650534ee8 (plain)
1
2
3
4
5
// PR c++/14476

struct tree_common {
  enum tree_code code : 8; // { dg-error "" }
};