xref
: /
dports
/
devel
/
ispc
/
ispc-1.16.1
/
tests_errors
/
const-3.ispc
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
// Can't assign to type
2
3
struct Foo {
4
int x;
5
};
6
7
int func(const Foo f) {
8
f.x
= 0;
9
}
10