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
/
cpp1y
/
var-templ38.C
blob
1fd76d38d4b6947a0820b3641ff8a53ecc5b5ea8
1
// PR c++/66596
2
// { dg-do compile { target c++14 } }
3
4
struct U { void f() {} };
5
struct V { void f() {} };
6
template<class T> U t;
7
template<> V t<int>;
8
template<class T> void g() { t<T>.f(); }
9
int main() { g<int>(); }