brintos

brintos / llvm-project-archived public Read only

0
0
Text · 557 B · 21075cb Raw
20 lines · plain
1// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}2// RUN: rm -rf %t3// RUN: mkdir %t4// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \5// RUN:            -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/modules.cache6 7// Test a case when a struct definition is first imported as invisible and then as visible.8 9#import <RecordDefHidden/Visible.h>10#import <RecordDef/RecordDef.h>11 12void bibi(void) {13  Buffer buf;14  buf.b = 1;15  AnonymousStruct strct;16  strct.y = 1;17  UnionRecord rec;18  rec.u = 1;19}20