1 // { dg-options "-std=c++0x" }
2 template<typename ... Args>
5 static bool const value = true;
8 template<typename ... Args>
9 struct foo< typename Args::is_applied... > // { dg-error "not used|Args" }
11 static bool const value = false;
14 struct not_applied { typedef void is_applied; };
15 struct applied { typedef applied is_applied; };
19 foo<applied, applied> i;