blob: 16665b5ba00b63d0c345dffb0f0409ae5e904822 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// RUN: clang-cc %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
// RUN: grep "objc_assign_strongCast" %t | count 2
// RUN: true
// This should generate a strong cast.
id test3(id x) {
__block id result;
^{ result = x; }();
return result;
}
|