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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr57573.C
blob
1344511a6961e0b18bebbdb08f98446b3367faca
1
// PR c++/57573
2
3
struct A { };
4
struct B { A a; };
5
6
void f(A*) { }
7
8
template<class T>
9
void g()
10
{
11
B b;
12
f(&(b.a));
13
}