mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-25 02:28:18 +00:00
9ea5839cb6
Flag synthesized struct decl. as non-empty so CXX side of ir gen does not skip its Null initialization. Fixes radar 8027844 for objc++'s collection statement. llvm-svn: 104837
11 lines
195 B
Plaintext
11 lines
195 B
Plaintext
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
|
|
// rdar: // 8027844
|
|
|
|
// CHECK: call void @llvm.memset
|
|
|
|
int main() {
|
|
id foo;
|
|
for (id a in foo) {
|
|
}
|
|
}
|