diff options
author | John McCall <rjmccall@apple.com> | 2011-02-01 21:35:06 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-02-01 21:35:06 +0000 |
commit | 7143325db76d6c3dabce82500f8cc7c93a941970 (patch) | |
tree | 05c5211ec940a94f28b5bd9b08ab1f13d9439972 /test/CodeGenCXX/c99-variable-length-array.cpp | |
parent | db0835552ff4b640bc908a50ccd075ab63cf6fff (diff) |
Do the right thing for zero-initializing VLAs that don't have a zero
bit-pattern. It's not clear that this is actually useful given current
language restrictions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/c99-variable-length-array.cpp')
-rw-r--r-- | test/CodeGenCXX/c99-variable-length-array.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/c99-variable-length-array.cpp b/test/CodeGenCXX/c99-variable-length-array.cpp index 66c14ff579..76f99c7b41 100644 --- a/test/CodeGenCXX/c99-variable-length-array.cpp +++ b/test/CodeGenCXX/c99-variable-length-array.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s struct X { X(); ~X(); |