summaryrefslogtreecommitdiff
path: root/test/CodeGenObjCXX/foreach-statement.mm
blob: d0ad5b3a8f0fcf791bf9b9d8906a706e65d39062 (plain)
1
2
3
4
5
6
7
8
9
10
// 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) {
    }
}