Sign in
llvm
/
llvm-project
/
5e54c9231465f8d80a8a8ff76ab792c6be370215
/
.
/
clang
/
test
/
SemaCXX
/
err-missing-noreturn-2.cpp
blob: b1888fbb33ccf287c97cab7b013c0229e96e1685 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s -Wmissing-noreturn -Wreturn-type
// expected-no-diagnostics
namespace
GH63009
{
struct
S1
{
[[
noreturn
]]
S1
();
};
int
foo
();
int
test_1
()
{
S1 s1
;
foo
();
}
}