summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/long1.C
blob: c22d79117bb85ead9e3f23123d80343aaaa984bc (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/6634
// { dg-do compile }
// { dg-options "" }

long long double x; // { dg-error "long long" }
long double y;
long float z;       // { dg-error "long" }

typedef short void    SV; // { dg-error "short" }
typedef long struct A LA; // { dg-error "long" }
typedef short char    SC; // { dg-error "short" }