c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic85a.C
blobb3cfeee968a66fd3fc73ca022c9d13b1e834a5e9
1 // PR c++/32565
2 // { dg-do compile { target c++11 } }
3 // { dg-options -fnew-ttp-matching }
5 template<typename...> struct A1;
6 template<template<int, int...> class T> struct A1<T<0, 1> > {};
7 template<int, int, int...> struct B1 {};
8 A1<B1<0, 1> > a1;
9 template<int...> struct B2 {};
10 A1<B2<0, 1> > a2;