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