Files
swift-mirror/validation-test/compiler_scale/function_bodies.gyb
Slava Pestov 6065168928 Parse: Test that we only parse function bodies in primary files
I added this optimization a while ago but didn't add a test for it.
2018-03-06 19:42:43 -08:00

6 lines
169 B
Plaintext

// RUN: %scale-test --sum-multi --typecheck --begin 5 --end 16 --step 5 --select NumFunctionsParsed %s
// REQUIRES: OS=macosx
// REQUIRES: asserts
func method${N}() {}