summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ttp20.C
blob: 0d1784c9f82ca74128c0e44198b98892443aa2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/27424
// Bug: failing to substitute the 'int' into C

template<typename T> struct A
{
    template<template<T> class> struct B {};
    template<T> struct C;
    B<C> b;
};

A<int> a;