summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/semicolon.C
blob: 8797bd32f310dc592f5b2c334b97be558796a80e (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/18368
// Origin: Chris Lattner <sabre@nondot.org>
// { dg-do compile }
// { dg-options "-fshow-column" }

struct A
{
  struct B { int i; } // { dg-error "after struct definition" }
  void foo();
};