projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
c++: Implement LWG3396 Clarify point of reference for source_location::current()...
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
typename8.C
1
// P0634R3
2
// { dg-do compile { target c++20 } }
3
4
template<typename T>
5
struct S {
6
static int foo ();
7
};
8
9
template<typename T>
10
int
11
f ()
12
{
13
return S<T>::foo();
14
}
15
16
void
17
test ()
18
{
19
f<int>();
20
}