1// RUN: rm -rf %t
2// Use -DA=0 so that there is at least one preprocessor option serialized after the diagnostic options.
3// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs %s -DA=0 -Rmodule-build -verify
4// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs %s -DA=0 -Werror -Rmodule-build -verify
5
6@import category_top; // expected-remark {{building module}} expected-remark {{finished building}}
7