Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/cpp2a/srcloc4.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 1 // { dg-do compile { target c++2a } } |
2 | |
3 namespace std { | |
4 void source_location (); | |
5 } | |
6 | |
7 auto x = __builtin_source_location (); // { dg-error "'void std::source_location\\(\\)' is not a type" } | |
8 // { dg-message "evaluating '__builtin_source_location'" "" { target *-*-* } .-1 } |