1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // test that referencing at_quick_exit when TEST_HAS_QUICK_EXIT is not defined
12 // results in a compile error.
16 #include "test_macros.h"
20 int main(int, char**) {
21 #if !defined(TEST_HAS_QUICK_EXIT)
22 std::at_quick_exit(f
);