OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [array1-1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
// { dg-options "-fabi-version=1" }
3
 
4
// Contributed by Nathan Sidwell 22 Dec 2003 
5
// Origin: Roger Sayle  
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 
20
void Bar()
21
{
22
   double m[3][3];
23
   Foo(m);
24
}
25
 
26
int main()
27
{
28
   Baz();
29
   Bar();
30
   return 0;
31
}
32
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.