OSDN Git Service

2012-06-14 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / pr53605.C
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 }