PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic87.C
blobf3c009257e1111e8164dabc283c0549be9a18ebe
1 // PR c++/33965
2 // { dg-do compile { target c++11 } }
3 template<typename T>
4 struct foo
6     static bool const value = false;
7 };
9 template<template<typename...> class T, typename... Args>
10 struct foo<T<Args...> >
12     static bool const value = true;
15 template<int I>
16 struct int_
17 {};
19 int main()
21   static_assert(foo<int_<0> >::value == false, 
22                 "picked up partial specialization, but should not have");