Debian Codegraph @

gcc/testsuite/g++.dg/ext/pr53605.C

raw
1 // { dg-do compile }
2
3 // Avoid -pedantic-error default
4 // { dg-options "" }
5
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);
12 };
13 void foo(){
14 static const int kData[] = {};
15 ::EqHelper<false>::Compare(kData, "abc");
16 }