Richard Smith | 040e126 | 2017-06-02 01:55:39 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fmodules -fmodule-name=A -x c++-module-map %s -emit-module -o /dev/null -verify |
2 | module A { | ||||
3 | header "does not exist" { size 12345 } // ok, do not need mtime for explicit module build | ||||
4 | header "also does not exist" { mtime 12345 } | ||||
5 | } | ||||
6 | #pragma clang module contents | ||||
7 | // expected-error@4 {{cannot emit module A: size must be explicitly specified for missing header file "also does not exist"}} |