Files
swift-mirror/test/Interpreter/repl_diagnostics.swift
Dmitri Hrybenko b47ad7f364 Perform SIL linking when running code in REPL
This allows us to inline transparent functions and emit diagnostics in SIL
diagnostic passes.  Fixes rdar://15209827


Swift SVN r9280
2013-10-13 11:53:43 +00:00

7 lines
183 B
Swift

// RUN: %swift -repl < %s 2>&1 | FileCheck %s
// REQUIRES: swift_repl
var tooLarge = 11111111111111111111111111111
// CHECK: error: integer literal overflows when stored into 'Int'