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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-104.C
blob
50956d21a409f8a0c0060f84104b69f88724873e
1
// PR c++/45236
2
// { dg-do compile { target c++11 } }
3
4
template <class T, class S> class foo;
5
6
template<template<int...> class C, int... II, class S>
7
struct foo<C<II...>,S>
8
{
9
template <class U>
10
struct bar { typedef int type; };
11
};
12
13
template <int... I>
14
struct A {};
15
16
foo<A<3>, float>::bar<int> x;