blob: df14af98a95f10dce0f77a63424c128a362678e1 (
plain) (
blame)
1
2
3
4
5
6
7
|
// expect error: MAX: is defined twice in this struct
// spec 5.5.1
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
struct s { const MAX = 1; const MAX = 2; }
fn main() { return 0; }
// zc0: skip
|