blob: 2a8b569a1af48b952914528c53a633adf426bd3d [file] [log] [blame]
// { dg-do compile { target c++2a } }
namespace std {
struct source_location {
static void __impl ();
};
}
auto x = __builtin_source_location (); // { dg-error "'std::source_location::__impl\\(\\)' is not a type" }
// { dg-message "evaluating '__builtin_source_location'" "" { target *-*-* } .-1 }