[llvm-bugs] [Bug 42596] New: Address space qualifier should be rejected on block return type
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 12 04:28:38 PDT 2019
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: unassignedclangbugs at nondot.org
Reporter: marco.antognini at arm.com
CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190712/cfbf5ee3/attachment.html>
More information about the llvm-bugs
mailing list