PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr85147.C
blob68c0022d80a008b8506c019499e3a3cbd6faa16c
1 // PR c++/85147
2 // { dg-do compile { target c++11 } }
4 template<typename T> struct A
6   template<template<...T> class...> struct B {};        // { dg-error "expected|mismatch" }
7 };
9 A<int>::B<> b;                                          // { dg-error "does not name a template type" }