summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ttp26.C
blob: 6ba5cb28a0a6504c0a22f20e1e238347ac3af460 (plain)
1
2
3
4
5
// PR c++/34052
template<typename T = int, typename U> class C; // { dg-error "no default argument" }

template<template<typename T = int, typename U> class C> struct X; // { dg-error "no default argument" }