Documentation

PT021 (micro test)

Back to documentation index
{
  "@context": "https://nxdlang.org/schema",
  "doc_id": "PT021",
  "title": "",
  "description": "NXD Compiler Testing Notes - Nim",
  "layer": "Passed Tests",
  "category": "Passed Tests",
  "keywords": [Transpilation, Compiler, Nim], 
  "doc_version": "1.0",
  "status": "active"
}

# PT021 (micro test)

###NXD Sample:

```nxd
MODULE TEST

FUNC MAIN()
    CONST MSG SET "NXD TEST"

    PRINTLN(MSG)
```    

### Result:

COMPILER: PASS
SEMANTICS: PASS

Expected Output:

### Actual Output:

```nim
# test


proc main() =
  let msg = "NXD TEST"
  println(msg)
```

### Notes: