[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / pr53605.C
blob0b902dd844e761a10ffdf1cc31ccaeab0a8d6db8
1 // { dg-do compile }
3 // Avoid -pedantic-error default
4 // { dg-options "" }
6 template <bool lhs_is_null_literal>
7 class EqHelper {
8 public:
9     template <typename T1, typename T2>
10         static int  Compare( const T1& expected,
11                              const T2& actual);
13 void foo(){
14     static const int kData[] = {};
15     ::EqHelper<false>::Compare(kData, "abc");