CMake/Tests/CompileFeatures/cxx_attribute_deprecated.cpp

12 lines
78 B
C++

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