[llvm-bugs] [Bug 33419] New: Missing diagnostic for function return in private AS
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 12 10:13:38 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33419
Bug ID: 33419
Summary: Missing diagnostic for function return in private AS
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: OpenCL
Assignee: unassignedclangbugs at nondot.org
Reporter: anastasia.stulova at arm.com
CC: llvm-bugs at lists.llvm.org
The following code should compile with an error (spec s6.5):
__private int testFunction(void)
{
return 42;
}
Note that using any other AS would produce an error.
--
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/20170612/46786653/attachment.html>
More information about the llvm-bugs
mailing list