summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/casts1.C
blob: 8ffc0c26d80901e5eee130a93226773fae0239f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed casts
// casts file
// From: dcb@us-es.sel.de (David Binderman 3841)
// Date:     Thu, 18 Feb 93 14:42:48 +0100
// Subject:  Page 67 of the ARM
// Message-ID: <9302181342.AA14050@slsvitt>

int main() {
   (struct T { int b; } *) 0;      // { dg-error "" } 

        return 0;
}