summaryrefslogtreecommitdiff
path: root/Tests/CompileFeatures/cxx_attribute_deprecated.cpp
blob: 5482db8ca3e6a0a56fd45372aae4e7318fa3315f (plain)
1
2
3
4
5
6
7
8
9
10

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

int someFunc()
{
  return foo();
}