blob: 50956d21a409f8a0c0060f84104b69f88724873e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// PR c++/45236
// { dg-do compile { target c++11 } }
template <class T, class S> class foo;
template<template<int...> class C, int... II, class S>
struct foo<C<II...>,S>
{
template <class U>
struct bar { typedef int type; };
};
template <int... I>
struct A {};
foo<A<3>, float>::bar<int> x;
|