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.
Fixed by commit r315668. The following error is given correctly: error: return value cannot be qualified with address space