| // RUN: %clang_cc1 "-triple" "arm64-windows" "-funwind-tables=2" "-fms-compatibility" -emit-llvm -O1 -disable-llvm-passes %s -o - | FileCheck %s |
| // NOTE: we're passing "-O1 -disable-llvm-passes" to avoid adding optnone and noinline everywhere. |
| #define f(c) a(e(0, 0, #c).b(), ) |
| g aq(h j, g k, int, int) { |
| // Check for the uwtable attribute on the filter funclet. |
| // CHECK: define internal noundef i32 @"?filt$0@0@at@@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #[[MD:[0-9]+]] |
| // CHECK: attributes #[[MD]] = { nounwind uwtable |
| } __except (aq(*ar, _exception_code(), 0, 0)) { |