// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
// PR14355: don't crash
// Keep this test in its own file because CodeGenTypes has global state.
// CHECK: define{{.*}} void @test10_foo({}* noundef %p1.coerce) [[NUW:#[0-9]+]] {
;
typedef struct test10_B ;
void ;
struct test10_B ;
void
;
void
// CHECK: attributes [[NUW]] = { noinline nounwind{{.*}} }