gccrs: Skip this debug test case which is failing on the latest mac-os devtools and...
[official-gcc.git] / gcc / testsuite / rust / debug / chartype.rs
blob3300925d4e0ddd24e05b00b3655eca09c5fcd035
1 // { dg-do compile }
2 // { dg-skip-if "see https://github.com/Rust-GCC/gccrs/pull/1632" { *-*-darwin* } }
3 // { dg-options "-w -gdwarf-4 -dA" }
4 // 'char' should use DW_ATE_UTF
5 fn main() {
6     let c = 'x';
7     // Use -w to avoid warnings about the unused variables
8     // DW_ATE_UTF entered in DWARF 4.
9     // DW_ATE_UTF = 0x10
10     // { dg-final { scan-assembler "0x10\[ \t]\[^\n\r]* DW_AT_encoding" } } */