repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
addressof3.C
blob
fa517908ae3ce9f1deec339ed1542384fb57080a
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 ();