Files
swift-mirror/test/Interpreter/repl_diagnostics.swift
2016-08-10 23:52:02 -07:00

8 lines
224 B
Swift

// RUN: %target-repl-run-simple-swift | %FileCheck %s
// REQUIRES: swift_repl
var tooLarge = 11111111111111111111111111111
// CHECK: error: integer literal '11111111111111111111111111111' overflows when stored into 'Int'