]> git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/cmake/code_tests/Source_location_default_argument.cc
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / seastar / cmake / code_tests / Source_location_default_argument.cc
1 #include<source_location>
2
3 int test_source_location(int line,
4 std::source_location loc = std::source_location::current()) {
5 return line == loc.line() ? 0 : 1;
6 }
7
8 int main() {
9 return test_source_location(__LINE__);
10 }