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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-sizeof1.C
blob
2837c856b10a2129ed2da19dc37664bb003d2086
1
// PR c++/56679
2
// { dg-require-effective-target c++11 }
3
4
template <template <typename> class... Args>
5
struct Foo {
6
static const int value = sizeof...(Args);
7
};
8
9
template <typename> struct Bar { };
10
11
const int test = Foo<Bar>::value;