1*89a1d03eSRichard // RUN: %check_clang_tidy -expect-clang-tidy-error %s modernize-use-noexcept %t 2*89a1d03eSRichard 3*89a1d03eSRichard // We're not interested in the check issuing a warning here, just making sure 4*89a1d03eSRichard // clang-tidy doesn't assert. 5*89a1d03eSRichard undefined_type doesThrow() throw(); 6*89a1d03eSRichard // CHECK-MESSAGES: :[[@LINE-1]]:1: error: unknown type name 'undefined_type' [clang-diagnostic-error] 7