{
"@context": "https://nxdlang.org/schema",
"doc_id": "PT018",
"title": "CLONE",
"description": "NXD Compiler Testing Notes - Nim",
"layer": "Passed Tests",
"category": "Passed Tests",
"keywords": [Transpilation, Compiler, Nim],
"doc_version": "1.0",
"status": "active"
}
# FT018 CLONE
### NXD Sample:
```nxd
MODULE TEST
FUNC MAIN()
LET X SET 5
LET Y SET CLONE X
PRINTLN(Y)
```
### Result:
COMPILER: PASS
SEMANTICS: FAIL
Expected Output:
### Actual Output:
```nim
# test
proc main() =
var x = 5
var y = clone
x
println(y)
```
### Notes:
Documentation