aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ttp24.C
blob: 2b8e28515ff1f9d8ec1a18ee4f0e102aa673a9af (plain)
1
2
3
4
5
6
// PR c++/30897

template<template <typename T, typename = T > class U> struct A
{
  template<int> U<int> foo();
};