Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
expr2.C
blob: d6e5593b242293ebdce0ba41778d51a29b25432f [
file
] [
log
] [
blame
]
// Build don't link:
template
<
int
I
>
struct
S
{};
template
<
int
J
>
void
foo
(
S
<
J
+
2
>);
void
bar
()
{
foo
(
S
<
3
>());
// ERROR - no way to deduce J from this.
}