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
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC++
/
2003-11-04-ArrayConstructors.cpp
blob
4ab33988ebb894bf8f28057b0cd992f2b9301f44
1
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3
4
struct
Foo
{
5
Foo
(
int
);
6
~
Foo
();
7
};
8
void
foo
() {
9
struct
{
10
Foo name
;
11
}
Int
[] = {
1
};
12
}