From c0a91970f2f0b363fa8a704a425a457e0b8bc0f5 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Tue, 4 Dec 2018 00:45:58 -0800 Subject: fixup --- lib/pure/osproc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 62c5b9d0b..77b3d8dcd 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -15,7 +15,7 @@ include "system/inclrtl" import strutils, os, strtabs, streams, cpuinfo -export quoteShell, quoteShellWindows, quoteShellPosix, processID +export quoteShell, quoteShellWindows, quoteShellPosix when defined(windows): import winlean -- cgit 1.4.1-2-gfad0 ' value='0e67fc745010aea9cf2d4e64a44d71b7f37a63e5'/> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/tests/array/tunchecked.nim
blob: f5ac3642d5d496ad01ca0f47e9d6a0508bb39a6e (plain) (tree)
1
2
3
4
5




                                             
{.boundchecks: on.}
type Unchecked {.unchecked.} = array[0, char]

var x = cast[ptr Unchecked](alloc(100))
x[5] = 'x'