repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-diag1.C
blob
53182d3e06438476d484b54b0e776677365f0509
1
// PR c++/55232
2
// { dg-do compile { target c++11 } }
3
4
struct vector
5
{
6
typedef int value_type;
7
};
8
9
template< class U, class... T >
10
struct X
11
{
12
void push_back( typename T::value_type ... vals )
13
{
14
U::asoeuth; // { dg-error "" }
15
}
16
};
17
18
int main()
19
{
20
X< int, vector > x;
21
x.push_back( 0 );
22
}