mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 06:18:56 -04:00

This fixes an unintended regression introduced by https://reviews.llvm.org/D61451 by making sure the Objective-C runtime is also tried when the "correct" language runtime failed to return an object description. rdar://problem/50791055 Differential Revision: https://reviews.llvm.org/D62015 llvm-svn: 360929
13 lines
240 B
Plaintext
13 lines
240 B
Plaintext
#include <CoreFoundation/CoreFoundation.h>
|
|
|
|
void stop() {}
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
int value = 42;
|
|
CFNumberRef num;
|
|
num = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &value);
|
|
stop(); // break here
|
|
return 0;
|
|
}
|