repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
2007-01-02-UnboundedArray.cpp
blob
648d19be62b8cb1b6777e45834a7a0325c089d9d
1
// Make sure unbounded arrays compile with debug information.
2
//
3
// RUN: %llvmgcc -O0 -c -g %s
4
5
// PR1068
6
7
struct
Object
{
8
char
buffer
[];
9
};
10
11
int
main
(
int
argc
,
char
**
argv
) {
12
new
Object
;
13
return
0
;
14
}