repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make tblgen produce a function that returns the name for a physreg.
[llvm/avr.git]
/
test
/
FrontendC
/
2007-02-16-VariableSizeStructArg.c
blob
ec6971acdb103a37bf888f8e66fe585a42a73ac1
1
// RUN: %llvmgcc -S -w %s -o -
2
// PR1170
3
int
f
(
int
a
,
struct
{
int
b
[
a
];}
c
) {
return
c
.
b
[
0
]; }
4
5
int
g
(
struct
{
int
b
[
1
];}
c
) {
6
return
c
.
b
[
0
];
7
}