diff options
Diffstat (limited to 'gcc/testsuite/go.go-torture/execute/const-1.go')
-rw-r--r-- | gcc/testsuite/go.go-torture/execute/const-1.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/go.go-torture/execute/const-1.go b/gcc/testsuite/go.go-torture/execute/const-1.go new file mode 100644 index 000000000..2292692ea --- /dev/null +++ b/gcc/testsuite/go.go-torture/execute/const-1.go @@ -0,0 +1,6 @@ +package main + +func main() { + const c = 2; + if c != 2 { panic(0) } +} |