You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code contains multiple AS qualifiers which are not diagnosed:
local private int lip1;
local private int* lip2;
Note if we change private to any other (i.e. global) the following error occurs correctly:
test.cl:2:1: error: multiple address spaces specified for type
local global int lip1;
The text was updated successfully, but these errors were encountered:
Fixed by commit r315668. The following errors are given correctly:
test.cl:4:3: error: multiple address spaces specified for type
local private int lip1;
^
test.cl:5:3: error: multiple address spaces specified for type
local private int* lip2;
Extended Description
The following code contains multiple AS qualifiers which are not diagnosed:
local private int lip1;
local private int* lip2;
Note if we change private to any other (i.e. global) the following error occurs correctly:
test.cl:2:1: error: multiple address spaces specified for type
local global int lip1;
The text was updated successfully, but these errors were encountered: