xref: /minix3/external/bsd/llvm/dist/clang/test/PCH/tentative-defs.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // Test with pch.
2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-pch -o %t.pch %S/tentative-defs.h
3*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -include-pch %t.pch -verify -emit-llvm -o %t %s
4*f4a2713aSLionel Sambuc 
5*f4a2713aSLionel Sambuc // RUN: grep "@variable = common global i32 0" %t | count 1
6*f4a2713aSLionel Sambuc // RUN: grep "@incomplete_array = common global .*1 x i32" %t | count 1
7*f4a2713aSLionel Sambuc 
8*f4a2713aSLionel Sambuc // FIXME: expected-warning@tentative-defs.h:9{{tentative}}
9