Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/addressof3.C

raw
1 // { dg-do compile }
2
3 struct S { int foo (); int s; };
4 int a[10];
5 int b;
6 S c;
7 int d = __builtin_addressof (a)[0][0];
8 int e = __builtin_addressof (b)[0];
9 int f = __builtin_addressof (c)->foo ();