OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
array1-2.C
1
// { dg-do compile }
2
// { dg-options "-fabi-version=2" }
3
4
// Contributed by Nathan Sidwell 22 Dec 2003 <nathan@codesourcery.com>
5
// Origin: Roger Sayle <roger@eyesopen.com>
6
7
// PR c++/12774 Array domains compared unequal
8
9
void Foo(double r[3][3])
10
{
11
}
12
13
void Baz()
14
{
15
double m[3][3];
16
Foo(m);
17
}
18
19
template <class T>
20
void Bar()
21
{
22
double m[3][3];
23
Foo(m);
24
}
25
26
int main()
27
{
28
Baz();
29
Bar<int>();
30
return 0;
31
}
32