2018-01-12 12:42:27 +08:00
|
|
|
// RUN: rm -rf %t
|
|
|
|
|
|
|
|
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/modules.cache \
|
|
|
|
// RUN: -I %S/Inputs/odr_hash-Friend \
|
|
|
|
// RUN: -emit-obj -o /dev/null \
|
|
|
|
// RUN: -fmodules \
|
|
|
|
// RUN: -fimplicit-module-maps \
|
|
|
|
// RUN: -fmodules-cache-path=%t/modules.cache \
|
|
|
|
// RUN: -std=c++11 -x c++ %s -verify
|
|
|
|
|
2018-01-17 03:53:06 +08:00
|
|
|
// PR35939: MicrosoftMangle.cpp triggers an assertion failure on this test.
|
2018-01-13 07:13:33 +08:00
|
|
|
// UNSUPPORTED: system-windows
|
2018-01-13 05:49:20 +08:00
|
|
|
|
2018-01-12 12:42:27 +08:00
|
|
|
// expected-no-diagnostics
|
|
|
|
|
|
|
|
#include "Box.h"
|
|
|
|
#include "M1.h"
|
|
|
|
#include "M3.h"
|
|
|
|
|
|
|
|
void Run() {
|
|
|
|
Box<> Present;
|
|
|
|
}
|