commit | 76ba849ed31a0671ffc049f2912ffb86c49ec6ee | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Aug 20 22:37:10 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Aug 20 22:37:10 2007 +0000 |
tree | b15d6b6a24656ef75018e3b9ac5a5f8788a17006 | |
parent | 9717080968aa3b8cc4c4231557fc04cd4124fd22 [diff] |
Fix array->pointer decay. This unbreaks test/CodeGen/array.c llvm-svn: 41202
diff --git a/clang/test/CodeGen/array.c b/clang/test/CodeGen/array.c new file mode 100644 index 0000000..dfbd10d --- /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; +}