Issue | 133644 |
---|---|
Summary | Cast from null pointer constant to nullptr is failing. |
Labels | new issue |
Assignees | |
Reporter | thradams |
```c int main(void) { typeof(nullptr) a; a = (typeof(nullptr)) 0; } ``` Standard: "If the target type is nullptr_t, the cast _expression_ shall be a null pointer constant or have type nullptr_t."
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs