Richard Smith | 1f2bd35 | 2017-07-06 21:05:56 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 -x c++-module-map %s -emit-module -fmodule-name=Foo -o %t 2>&1 | FileCheck %s |
2 | // CHECK: module compilation requires '-fmodules' | ||||
3 | module Foo {} | ||||
4 | #pragma clang module contents |