ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git] / gcc / testsuite / g++.dg / template / ttp36.C
blobc329bb429489cee6dd22d0b90f88920620224fcc
1 // Verify we propagate cv-quals when level-lowering a bound ttp.
3 template<class T>
4 struct B {
5   template<template<class> class TT>
6   void f(TT<T>*);
8   template<template<class> class TT>
9   void f(const TT<T>*); // { dg-bogus "cannot be overloaded" }
12 template struct B<int>;