mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
21 lines
469 B
C++
21 lines
469 B
C++
/* Deviance Test 25.0.1: Ensure illegal use mini-assembler is detected */
|
|
|
|
#include <stdio.h>
|
|
|
|
main ()
|
|
{
|
|
int i, j;
|
|
|
|
asm
|
|
{
|
|
9__A: nop ; invalid label
|
|
clcNoSuchOpcode ; illegal op code
|
|
lda i * j - (j || i) ; invalid expression
|
|
|
|
dupLab: dcl 0x888 ; duplicate labels
|
|
dupLab: dcb 9 + 2
|
|
}
|
|
|
|
printf ("Failed Deviance Test 25.0.1\n");
|
|
}
|