https://issues.dlang.org/show_bug.cgi?id=22070
Issue ID: 22070
Summary: importC: Error: string literal is not an lvalue
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
It is an lvalue in C
"""
6.5.1-4: A string literal is a primary expression. It is an lvalue with type
as detailed in 6.4.5.
"""
Reduced test
---
char(*var)[4] = &"123";
--
