Fix AoS/SoA stdlib functions to match documentation
(i.e. actually remove the old offset parameter stuff now that we can actually pass pointers.)
This commit is contained in:
6
tests_errors/redeclare.ispc
Normal file
6
tests_errors/redeclare.ispc
Normal file
@@ -0,0 +1,6 @@
|
||||
// Ignoring redeclaration of symbol "a"
|
||||
|
||||
void foo() {
|
||||
int a;
|
||||
int a;
|
||||
}
|
||||
8
tests_errors/shadow.ispc
Normal file
8
tests_errors/shadow.ispc
Normal file
@@ -0,0 +1,8 @@
|
||||
// Symbol "a" shadows symbol declared in outer scope
|
||||
|
||||
void foo() {
|
||||
int a;
|
||||
{
|
||||
int a;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user