summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/union3.C
blob: be874339a4e970acb3866767395f0818d904a370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed unions
// anon-union file
// From: dcb@us-es.sel.de (David Binderman 3841)
// Date:     Tue, 30 Mar 93 09:06:15 +0200
// Subject:  Page 183 of the ARM
// Message-ID: <9303300706.AA17079@slsvitt>

static union {
        char*   uC;
private:
        int     uI;// { dg-error "" } 
};