| 1 | // Regression: redeclaring a C alias must not set the alias TypeSymbol's |
| 2 | // language to .c. If it does, the C backend emits the raw C name instead of |
| 3 | // the `C__Name` cname for any later use of the alias. |
| 4 | |
| 5 | type C.RedeclareLong = int |
| 6 | type C.RedeclareLong = int |
| 7 | |
| 8 | @[markused] |
| 9 | fn use_redeclare_long(x C.RedeclareLong) C.RedeclareLong { |
| 10 | return x |
| 11 | } |
| 12 |