diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-20 22:37:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-20 22:37:10 +0000 |
commit | 76ba849ed31a0671ffc049f2912ffb86c49ec6ee (patch) | |
tree | b15d6b6a24656ef75018e3b9ac5a5f8788a17006 /clang/test/CodeGen/array.c | |
parent | 9717080968aa3b8cc4c4231557fc04cd4124fd22 (diff) | |
download | bcm5719-llvm-76ba849ed31a0671ffc049f2912ffb86c49ec6ee.tar.gz bcm5719-llvm-76ba849ed31a0671ffc049f2912ffb86c49ec6ee.zip |
Fix array->pointer decay. This unbreaks test/CodeGen/array.c
llvm-svn: 41202
Diffstat (limited to 'clang/test/CodeGen/array.c')
-rw-r--r-- | clang/test/CodeGen/array.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/array.c b/clang/test/CodeGen/array.c new file mode 100644 index 00000000000..dfbd10ddad6 --- /dev/null +++ b/clang/test/CodeGen/array.c @@ -0,0 +1,6 @@ +// RUN: clang -emit-llvm %s + +int f() { + int a[2]; + a[0] = 0; +} |