Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
parms3.C
blob: 1eba279aa36746fb9341d2109a5b5bf02296328a [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Test that we can represent static_casts in template arg lists.
template
<
int
I
>
struct
A
{
};
template
<
class
T
>
struct
B
{
A
<
static_cast
<
T
>(
3.14
)>
a
;
};