Revision a87ef76f85c8c42fa15329ea53adda4793bf9686 authored by Mishal Shah on 27 August 2019, 23:26:43 UTC, committed by GitHub on 27 August 2019, 23:26:43 UTC
2 parent s 148ea44 + 4d66676
Raw File
print_module_missing.swift
// Make sure we emit some kind of error message when we cannot find the module
// to print.

// RUN: not %target-swift-ide-test -print-module -print-interface -no-empty-line-between-members -module-to-print=NoSuchModule -source-filename=%s 2> %t.err
// RUN: %FileCheck %s -check-prefix=CHECK-MISSING < %t.err

// RUN: not %target-swift-ide-test -print-module -print-interface -no-empty-line-between-members -module-to-print=Swift.NoSuchSubModule -source-filename=%s 2> %t.suberr
// RUN: %FileCheck %s -check-prefix=CHECK-MISSING-SUBMODULE < %t.suberr

// CHECK-MISSING: 'NoSuchModule'
// CHECK-MISSING-SUBMODULE: 'Swift.NoSuchSubModule'
back to top