]> granicus.if.org Git - clang/commitdiff
Commit the right version of the test
authorAnders Carlsson <andersca@mac.com>
Sun, 21 Dec 2008 03:40:32 +0000 (03:40 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 21 Dec 2008 03:40:32 +0000 (03:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61302 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/vla.c

index 0881520c75788367cf1b357bbc9f2647e52b30b5..907de916fa0be8cd83a9d380f688b1559a670156 100644 (file)
@@ -9,7 +9,7 @@ void a(int x) {
   b(arry);
 }
 
-void b(int n)
+int c(int n)
 {
-  sizeof(int[n]);
+  return sizeof(int[n]);
 }