1 // RUN: %clang_cc1 < %s -emit-llvm 2 struct test { 3 int a; 4 }; 5 6 extern struct test t; 7 8 int *b=&t.a; 9 10 11 // PR2049 12 typedef struct mark_header_tag { 13 unsigned char mark[7]; 14 } mark_header_t; is_rar_archive(int fd)15int is_rar_archive(int fd) { 16 const mark_header_t rar_hdr[2] = {{0x52, 0x61, 0x72, 0x21, 0x1a, 0x07, 0x00}, {'U', 'n', 'i', 'q', 'u', 'E', '!'}}; 17 foo(rar_hdr); 18 19 return 0; 20 } 21 22