From: David Blaikie Date: Tue, 23 Jul 2013 01:01:17 +0000 (+0000) Subject: Further simplify test case from r186894 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=613c69500d6621e444b2faa312ea828f56adf4c2;p=platform%2Fupstream%2Fllvm.git Further simplify test case from r186894 llvm-svn: 186905 --- diff --git a/clang/test/CodeGenObjC/block-byref-debuginfo.m b/clang/test/CodeGenObjC/block-byref-debuginfo.m index fe5af16..7c1571f 100644 --- a/clang/test/CodeGenObjC/block-byref-debuginfo.m +++ b/clang/test/CodeGenObjC/block-byref-debuginfo.m @@ -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