mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Adjust test cases.
Swift SVN r17964
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
// RUN: %swift -triple x86_64-apple-darwin %s -emit-llvm -g -o - | FileCheck %s
|
||||
// RUN: %swift -target x86_64-apple-darwin %s -emit-ir -g -o - | FileCheck %s
|
||||
var puzzleInput = "great minds think alike"
|
||||
var puzzleOutput = ""
|
||||
for letter in puzzleInput.chars {
|
||||
for letter in puzzleInput {
|
||||
// CHECK: [ DW_TAG_auto_variable ] [letter] [line [[@LINE-1]]]
|
||||
switch letter {
|
||||
case 'a', 'e', 'i', 'o', 'u', ' ':
|
||||
case "a", "e", "i", "o", "u", " ":
|
||||
continue
|
||||
default:
|
||||
puzzleOutput += letter
|
||||
|
||||
Reference in New Issue
Block a user