xref: /minix3/external/bsd/llvm/dist/clang/test/PCH/designated-init.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // Test this without pch.
2 // RUN: %clang_cc1 %s -include %s.h -emit-llvm -o %t.withoutpch.ll
3 
4 // Test with pch.
5 // RUN: %clang_cc1 %s.h -emit-pch -o %t.pch
6 // RUN: %clang_cc1 %s -include-pch %t.pch -emit-llvm -o %t.withpch.ll
7 // RUN: diff %t.withoutpch.ll %t.withpch.ll
8