Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr84630.C
blob: 7d6361b21ea924a615ede6b0ee8f13cc799168d3 [
file
] [
log
] [
blame
]
// PR c++/84630
// { dg-do compile { target c++11 } }
template
<
typename
...>
struct
c
{
template
<int>
__attribute__
((
noinline
([]
{})))
int
b
();
// { dg-error "wrong number of arguments" }
};
c
<>
a
;
int
i
=
a
.
b
<
42
>();