aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr60215.C
blob: 29700174192379cc2130fbe17600a474f65d0f74 (plain)
1
2
3
4
5
6
7
8
// PR c++/60215
// { dg-do compile { target c++11 } }

struct A
{
  void foo();
  int i : foo;  // { dg-error "width" }
};