Skip to content
Snippets Groups Projects
Commit 683a37b2 authored by David Blaikie's avatar David Blaikie
Browse files

Further simplify test case from r186894

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186905 91177308-0d34-0410-b5e6-96231b3b80d8
parent b3da6139
No related branches found
No related tags found
No related merge requests found
......@@ -4,20 +4,10 @@
// expression (256) that locates it inside of the byref descriptor:
// CHECK: metadata !"foo", i32 0, i64 {{[0-9]+}}, i64 64, i64 256, i32 0, metadata
@interface NSObject {
}
@end
typedef struct Buffer *BufferRef;
typedef struct Foo_s {
unsigned char *data;
} Foo;
@interface FileReader : NSObject {
}
@end
@implementation FileReader
- (BufferRef) bar:(int *)index
{
__attribute__((__blocks__(byref))) Foo foo;
struct Foo {
unsigned char *data;
};
int func() {
__attribute__((__blocks__(byref))) struct Foo foo;
return 0;
}
@end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment