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: unassignedclangb...@nondot.org
Reporter: anastasia.stul...@arm.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs