Debian Codegraph @

gcc/testsuite/g++.dg/template/ttp36.C

raw
1 // Verify we propagate cv-quals when level-lowering a bound ttp.
2
3 template<class T>
4 struct B {
5 template<template<class> class TT>
6 void f(TT<T>*);
7
8 template<template<class> class TT>
9 void f(const TT<T>*); // { dg-bogus "cannot be overloaded" }
10 };
11
12 template struct B<int>;