summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/array.c
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-10-14 18:03:49 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-10-14 18:03:49 +0000
commit9092c3e0fa01f3139b016d05d267a89e3b07747a (patch)
tree137ebebcae16fb0ce7ab4af456992bbd8d22fced /test/CodeGen/array.c
parent4981926bf654fe5a2c3893f24ca44106b217e71e (diff)
downloadFreeBSD-src-9092c3e0fa01f3139b016d05d267a89e3b07747a.zip
FreeBSD-src-9092c3e0fa01f3139b016d05d267a89e3b07747a.tar.gz
Update clang to r84119.
Diffstat (limited to 'test/CodeGen/array.c')
-rw-r--r--test/CodeGen/array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/array.c b/test/CodeGen/array.c
index 5bcc26e..294dabf 100644
--- a/test/CodeGen/array.c
+++ b/test/CodeGen/array.c
@@ -1,11 +1,11 @@
// RUN: clang-cc -emit-llvm %s -o %t
-int f() {
+void f() {
int a[2];
a[0] = 0;
}
-int f2() {
+void f2() {
int x = 0;
int y = 1;
int a[10] = { y, x, 2, 3};
OpenPOWER on IntegriCloud