brintos

brintos / llvm-project-archived public Read only

0
0
Text · 327 B · 9a80b07 Raw
7 lines · cpp
1// RUN: %check_clang_tidy -expect-clang-tidy-error %s modernize-use-noexcept %t2 3// We're not interested in the check issuing a warning here, just making sure4// clang-tidy doesn't assert.5undefined_type doesThrow() throw();6// CHECK-MESSAGES: :[[@LINE-1]]:1: error: unknown type name 'undefined_type' [clang-diagnostic-error]7