PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / error29.C
blob2e2291d7e87374ad47c79f5345c8f6d9004bcfc6
1 // PR c++/33209
3 template<typename T> void foo(int, T::x); // { dg-error "T::x" }
5 template<template<typename> class T> void foo2(int, T<int>::x); // { dg-error "T<int>::x" }