blob: ef56edf9426adf73539bf4b1c82f1250f13348a5 [file] [log] [blame]
// { dg-do compile { target c++20 } }
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 }