CMake/Tests/CompileFeatures/cxx_attribute_deprecated.cpp

12 lines
78 B
C++
Raw Normal View History

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