mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-28 15:58:57 -04:00

Any hashing for methods should be able to compile this test case without emitting an error. Since the class and method come from the same header from each module, there should be no messages about ODR violations. llvm-svn: 321924
15 lines
484 B
C++
15 lines
484 B
C++
// RUN: rm -rf %t
|
|
|
|
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/modules.cache \
|
|
// RUN: -I %S/Inputs/odr_hash-Unresolved \
|
|
// RUN: -fmodules \
|
|
// RUN: -fimplicit-module-maps \
|
|
// RUN: -fmodules-cache-path=%t/modules.cache \
|
|
// RUN: -fmodules-local-submodule-visibility \
|
|
// RUN: -std=c++11 -x c++ %s -fsyntax-only
|
|
|
|
// Note: There is no -verify in the run line because some error messages are
|
|
// not captured from the module building stage.
|
|
|
|
#include "Module2/include.h"
|