blob: 9255dfe24b110917fd52cd41a4281d430dd133de (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// RUN: rm -rf %t
// RUN: %clang_cc1 -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/gnumode-non-benign -verify %s
// expected-no-diagnostics
// This test ensures that submodules have the same GNUMode language option
// setting as the main clang invocation.
// Note that we set GNUMode = 0 with -std=c++11 for this file.
// This module fails to compile with GNUMode = 1.
#include "module.h"
|