summaryrefslogtreecommitdiff
path: root/test/CodeGen/array.c
diff options
context:
space:
mode:
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 5bcc26ecf38b0..294dabfbbb5d9 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};