Files
swift-mirror/test/SourceKit/Sema/enum-toraw/Inputs/t2.swift
Argyrios Kyrtzidis 8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00

9 lines
170 B
Swift

enum GraphicType: Int {
case RectangleType = 1
case CircleType = 2
}
func foo_t2() -> Bool {
// Don't return anything on purpose, we want a SIL diagnostic here.
}