clang/test/CodeGen/ms-empty-enum.c
raw| 1 | // RUN: %clang_cc1 -fms-extensions -triple x86_64-windows-msvc -Wno-implicit-function-declaration -emit-llvm %s -o - | FileCheck %s |
| 2 | // RUN: %clang_cc1 -fms-extensions -triple i386-windows-msvc -Wno-implicit-function-declaration -emit-llvm %s -o - | FileCheck %s |
| 3 | |
| 4 | typedef enum tag1 {} A; |
| 5 | |
| 6 | // CHECK: void @empty_enum(i32 noundef %a) |
| 7 | void empty_enum(A a) {} |