blob: f81a28c2f1a523e9b13076bb7ddec4053ef080e5 [file] [log] [blame]
template<int N> struct S { };
template<template<typename> class TT>
void foo();
void bar()
{
foo<S>(); // { dg-error "no matching function" }
// { dg-error "type/value mismatch at argument 1" "" { target *-*-* } .-1 }
// { dg-message "expected a template of type .template<class> class TT., got .template<int N> struct S." "" { target *-*-* } .-2 }
}