June 26, 2023 [Issue 24016] New: ImportC: __attribute__ in switch statements: error: found `__attribute__` instead of statement | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24016 Issue ID: 24016 Summary: ImportC: __attribute__ in switch statements: error: found `__attribute__` instead of statement Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: jlourenco5691@gmail.com ```c void fun(int i) { switch (i) { case 0: i++; __attribute__((fallthrough)); default: return; } } ``` -- |
Copyright © 1999-2021 by the D Language Foundation