| 1 |
// { dg-do compile { target c++20 } } |
| 2 |
|
| 3 |
namespace std { |
| 4 |
struct source_location { |
| 5 |
}; |
| 6 |
} |
| 7 |
|
| 8 |
auto x = __builtin_source_location (); // { dg-error "'__impl' is not a member of 'std::source_location'" } |
| 9 |
// { dg-message "using '__builtin_source_location'" "" { target *-*-* } .-1 } |