mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 00:02:21 +08:00
Features: Add support for C++14 features.
Record the features implemented by GNU 4.9 and Clang 3.4.
This commit is contained in:
11
Tests/CompileFeatures/cxx_attribute_deprecated.cpp
Normal file
11
Tests/CompileFeatures/cxx_attribute_deprecated.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
[[deprecated]]
|
||||
int foo()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int someFunc()
|
||||
{
|
||||
return foo();
|
||||
}
|
Reference in New Issue
Block a user