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 | 7016a706c9fab0d7c1603e424c61abbff9077037 (patch) | |
tree | b15513d09afa883cd6da6f36be7e0778643e20df /test/CodeGen/array.c | |
parent | 28a7ca80da5dd2d0fca75d9a3b7a5f4851712592 (diff) |
Fix array->pointer decay. This unbreaks test/CodeGen/array.c
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/array.c')
-rw-r--r-- | test/CodeGen/array.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/array.c b/test/CodeGen/array.c new file mode 100644 index 0000000000..dfbd10ddad --- /dev/null +++ b/test/CodeGen/array.c @@ -0,0 +1,6 @@ +// RUN: clang -emit-llvm %s + +int f() { + int a[2]; + a[0] = 0; +} |