summaryrefslogtreecommitdiff
path: root/tests/auto/cplusplus/cxx11/data/noExcept.1.cpp
blob: dc7fffd1fd5c165e78bfb95141923e8a9f838c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void f() noexcept {
}

void g() noexcept(1) {
}

void h() noexcept(noexcept(f())) {

}

int main() {
    bool noExcept_hf = noexcept(h()) && noexcept(f());
}