aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/try-func-body.cppm
blob: 379f5e47f4f8e1c74d08a9fc4f9e5c5f519810fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -std=c++20 %s -fexceptions -fcxx-exceptions -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s

export module func;
class C {
public:
    void member() try {

    } catch (...) {

    }
};

// CHECK: define {{.*}}@_ZNW4func1C6memberEv