gcc/testsuite/g++.dg/pch/pr98343.Hs
raw| 1 | // PR c++/98343 |
| 2 | // { dg-options "-std=c++2a" } |
| 3 | |
| 4 | namespace std |
| 5 | { |
| 6 | struct source_location |
| 7 | { |
| 8 | struct __impl |
| 9 | { |
| 10 | const char* _M_file_name; |
| 11 | const char* _M_function_name; |
| 12 | unsigned _M_line; |
| 13 | unsigned _M_column; |
| 14 | }; |
| 15 | const __impl* _M_impl; |
| 16 | }; |
| 17 | } |
| 18 | const void *ptr = __builtin_source_location (); |