projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/13494 (ICE on bidimensional array subscription in template function.)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
array2-1.C
1
// { dg-do compile }
2
// { dg-options "-fabi-version=1" }
3
4
// Copyright (C) 2003 Free Software Foundation, Inc.
5
// Contributed by Nathan Sidwell 29 Dec 2003 <nathan@codesourcery.com>
6
7
// PR c++/13494. ICE
8
9
template<typename T>
10
int foo(int d[][4])
11
{
12
return d[0][0];
13
}
14