Files
TDT4205/ps1/testing/tests/4-comments.txt
2026-01-29 17:57:08 +01:00

12 lines
339 B
Plaintext

// This file contains tests
//Spacesbeforecommentshouldnotmatter
go go go // This should be accepted
10: dx=10 dy=-5 go // This should also be accepted
dx=-1 dy=5 go /* This should fail! */
go go // dx=-4.2 should be accepted
//
go// Comments can be right next to statements
dx=5// Here as well
7://Labels too!
go / We need two slashes