Index: src/trusted/validator_x86/testdata/64/nacl_illegal.tf |
diff --git a/src/trusted/validator_x86/testdata/64/nacl_illegal.tf b/src/trusted/validator_x86/testdata/64/nacl_illegal.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..caf78a8d7f762478b9d7472fb88dcb9a4e3c2568 |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/nacl_illegal.tf |
@@ -0,0 +1,10 @@ |
+BITS: 64 |
+OUTCOME: invalid |
+ |
+# Example of an instruction marked illegal by native client. |
+# ret |
+asm: retq |
+hex: c3 |
+nc_out: ERROR: This instruction has been marked illegal by Native Client |
+nc_out: ERROR: Illegal assignment to RSP |
+ |