CMake/Tests/CompileFeatures/cxx_attribute_deprecated.cpp

11 lines
78 B
C++

[[deprecated]] int foo()
{
return 0;
}
int someFunc()
{
return foo();
}