1 // Test that we serialize the enum decl in the function prototype somehow.
2 // These decls aren't serialized quite the same way as parameters.
4 // Test this without pch.
5 // RUN: %clang_cc1 -include %s -emit-llvm -o - %s | FileCheck %s
8 // RUN: %clang_cc1 -emit-pch -o %t %s
9 // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck %s
11 // CHECK-LABEL: define {{.*}}i32 @main()
17 static inline __attribute__((always_inline
)) int f(enum { x
, y
} p
) {