Richard Trieu | 4eefb45 | 2018-01-12 04:42:27 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
| 2 | |
| 3 | // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/modules.cache \ |
| 4 | // RUN: -I %S/Inputs/odr_hash-Friend \ |
| 5 | // RUN: -emit-obj -o /dev/null \ |
| 6 | // RUN: -fmodules \ |
| 7 | // RUN: -fimplicit-module-maps \ |
| 8 | // RUN: -fmodules-cache-path=%t/modules.cache \ |
| 9 | // RUN: -std=c++11 -x c++ %s -verify |
| 10 | |
Richard Trieu | cc64266 | 2018-01-16 19:53:06 +0000 | [diff] [blame] | 11 | // PR35939: MicrosoftMangle.cpp triggers an assertion failure on this test. |
Richard Trieu | 5923a6d | 2018-01-12 23:13:33 +0000 | [diff] [blame] | 12 | // UNSUPPORTED: system-windows |
Richard Trieu | 526fb05 | 2018-01-12 21:49:20 +0000 | [diff] [blame] | 13 | |
Richard Trieu | 4eefb45 | 2018-01-12 04:42:27 +0000 | [diff] [blame] | 14 | // expected-no-diagnostics |
| 15 | |
| 16 | #include "Box.h" |
| 17 | #include "M1.h" |
| 18 | #include "M3.h" |
| 19 | |
| 20 | void Run() { |
| 21 | Box<> Present; |
| 22 | } |