blob: fd1426d012f9c0a2636d6908a0e37f07da9cf17a [file] [log] [blame]
Douglas Gregor49009ec2011-11-30 04:03:44 +00001// RUN: rm -rf %t
Douglas Gregor6eb47da2011-11-30 14:57:39 +00002// RUN: %clang_cc1 -Eonly -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/submodules %s -verify
Douglas Gregor49009ec2011-11-30 04:03:44 +00003// RUN: %clang_cc1 -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/submodules %s -verify
4
5__import_module__ std.vector;
6__import_module__ std.typetraits; // expected-error{{no submodule named 'typetraits' in module 'std'; did you mean 'type_traits'?}}
7__import_module__ std.vector.compare; // expected-error{{no submodule named 'compare' in module 'std.vector'}}