Douglas Gregor | 49009ec | 2011-11-30 04:03:44 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Douglas Gregor | 6eb47da | 2011-11-30 14:57:39 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -Eonly -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/submodules %s -verify |
Douglas Gregor | 49009ec | 2011-11-30 04:03:44 +0000 | [diff] [blame] | 3 | // 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'}} |