OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
ptrmem4.C
1
// PR c++/15471
2
// { dg-do run }
3
4
struct myclass {
5
unsigned a;
6
union {
7
unsigned x;
8
};
9
};
10
11
int main () {
12
myclass foo;
13
unsigned myclass::* member = &myclass::x;
14
if (&(foo.*member) != &foo.x)
15
return 1;
16
}