1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
"testCollection": {
"name": "7.5.1_Reserved_Words",
"numTests": 4,
"tests": [
{
"section": "7.5.1",
"description": "Checking if execution of \"null = 1\" fails",
"negative": "",
"test": "null = 1;\n",
"id": "S7.5.1_A1.1"
},
{
"section": "7.5.1",
"description": "Checking if execution of \"true=1\" fails",
"negative": "",
"test": "true = 1;\n",
"id": "S7.5.1_A1.2"
},
{
"section": "7.5.1",
"description": "Checking if execution of \"false=1\" fails",
"negative": "",
"test": "false = 1;\n",
"id": "S7.5.1_A1.3"
},
{
"section": "7.5.1",
"description": "Try assign 1 for not reserved words",
"test": "// a\nand = 1;\nand_eq = 1;\nas = 1;\nasm = 1; \nassert = 1;\nauto = 1;\n// b\nbase = 1;\nbitand = 1;\nbitor = 1;\nbool = 1;\nbyvalue = 1;\n// c\nchecked = 1;\nclone = 1;\ncomment = 1;\ncompl = 1;\nconst_cast = 1;\n// d\ndecimal = 1;\ndelegate = 1;\ndynamic_cast = 1;\n// e\nexplicit = 1;\nextern = 1;\nequals = 1;\nevent = 1;\n// f\nfinalize = 1;\nfixed = 1;\nfriend = 1;\nforeach = 1;\nfuture = 1;\n// g\ngetClass = 1;\ngeneric = 1;\n// h\nhashCode = 1;\n// i\nimplicit = 1;\ninfinity = 1;\ninline = 1;\ninner = 1;\ninternal = 1;\nis = 1;\n// j\n// k\n// l\nlock = 1;\n// m\nmutable = 1;\n// n\nNaN = 1;\nnamespace = 1;\nnot = 1;\nnotify = 1;\nnotifyAll = 1;\nnot_eq = 1;\n// o\nobject = 1;\noperator = 1;\nor = 1;\nor_eq = 1;\nout = 1;\nouter = 1;\noverride = 1;\n// p\nparams = 1;\n// q\n// r\nreadonly = 1;\nreinterpret_cast = 1;\nref = 1;\nregister = 1;\n\n// s\nsbyte = 1;\nsigned = 1;\nsizeof = 1;\nstackalloc = 1;\nstatic_cast = 1;\nstring = 1;\nstrictfp = 1;\nstruct = 1;\n// t\ntemplate = 1;\ntoString = 1;\ntypedef = 1;\ntypeid = 1;\n// u\nuint = 1;\nunchecked = 1;\nundefiend = 1;\nunion = 1;\nunsafe = 1;\nunsigned = 1;\nuse = 1;\nusing = 1;\nushort = 1;\n// v\nvalueOf = 1;\nvirtual = 1;\n// w\nwait = 1;\nwchar_t = 1;\n// x\nxor = 1;\nxor_eq = 1;\n// y\n// z \n",
"id": "S7.5.1_A2"
}
]
}
}
|