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
doc: Document struct-layout-1.exp for ABI checks
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-55323.C
blob
e360a99be2d31002944c3ff02f2a2c799799b2ee
1
// { dg-do compile { target c++11 } }
2
3
struct foo {
4
foo(int a, float b);
5
};
6
7
struct bar : foo {
8
template<typename... Args>
9
bar(Args&&... args) : foo(2, args){} // { dg-error "parameter packs" }
10
};
11
12
bar b(2,1.);