[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGen / incomplete-function-type.c
blobf5561d0677dfa9b6951ac4001600376994bda651
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -Wno-strict-prototypes -emit-llvm -o - %s | FileCheck %s
2 // CHECK: ModuleID
3 // CHECK: target triple = "
4 // CHECK-NOT: opaque
5 // CHECK-LABEL: define{{.*}} void @f0
7 enum teste1 test1f(void), (*test1)(void) = test1f;
8 struct tests2 test2f(), (*test2)() = test2f;
9 struct tests3;
10 void test3f(struct tests3), (*test3)(struct tests3) = test3f;
11 enum teste1 { TEST1 };
12 struct tests2 { int x,y,z,a,b,c,d,e,f,g; };
13 struct tests3 { float x; };
15 void f0(void) {}