1 //PR c++/28861 2 3 struct A 4 { 5 template<template<int> class B> struct B<0>; // { dg-error "name of class shadows" } 6 }; 7