summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error29.C
blob: 2e2291d7e87374ad47c79f5345c8f6d9004bcfc6 (plain)
1
2
3
4
5
// PR c++/33209

template<typename T> void foo(int, T::x); // { dg-error "T::x" }

template<template<typename> class T> void foo2(int, T<int>::x); // { dg-error "T<int>::x" }