https://bugs.llvm.org/show_bug.cgi?id=42596
Bug ID: 42596
Summary: Address space qualifier should be rejected on block
return type
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: OpenCL
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
The following ill-formed code is currently incorrectly accepted.
__global int (^block0)(void) = ^{ return 0; };
AS qualifiers on return types are not allowed.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs