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
/
overload-conv-2.C
blob
b95994d7fc423d4378d13a4dc0a0ec534ac04d8b
1
// { dg-do link { target c++11 } }
2
3
struct T {};
4
struct S
5
{
6
S(T const &) {}
7
};
8
9
void f(const S&);
10
void f(S&&) {}
11
12
int main()
13
{
14
T t;
15
f(t);
16
}