summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/anon-union1.C
blob: 3facea984b36f0c952ba24a13a0921568a9d3b22 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// GROUPS passed anonymous-unions
static union {
        char*   uC;
private:
        int     uI;// { dg-error "" } .*private member.*
};