9 lines · 225 B · Text
RawDownload
// negative array index access tests[1,2,3,4] @=> int a[]; // failure casesif( a[-1] != 4 ) <<< "FAILURE, expecting 4" >>>;if( a[-4] != 1 ) <<< "FAILURE, expecting 1" >>>; // should generate a array out of boundsa[-5];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t