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 ();
10