repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/67955
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
pr53605.C
blob
0b902dd844e761a10ffdf1cc31ccaeab0a8d6db8
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
}