summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/uow-4.C
blob: 21ed04a88ea578a2b9008d0309a78a11855a6063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-Wall -pedantic" } */

extern "C" {

typedef int UOW;  /* { dg-error "" } */
struct ABC {
  UOW UOW; /* { dg-error "" } */
};

}