Files
clang-p2996/lldb/test/API/commands/frame/recognizer/main.m
Dave Lee d1a1798e51 [lldb] Replace unneeded use of Foundation with ObjectiveC in tests (NFC)
When referencing `NSObject`, it's enough to import `objc/NSObject.h`. Importing `Foundation` is unnecessary in these cases.

Differential Revision: https://reviews.llvm.org/D99867
2021-04-04 20:04:41 -07:00

17 lines
227 B
Objective-C

#import <stdio.h>
void foo(int a, int b)
{
printf("%d %d\n", a, b);
}
void bar(int *ptr) { printf("%d\n", *ptr); }
int main (int argc, const char * argv[])
{
foo(42, 56);
int i = 78;
bar(&i);
return 0;
}