Clang Project

clang_source_code/test/Modules/odr_hash-elaborated-types.cpp
1// RUN: rm -rf %t
2// RUN: %clang_cc1 -std=c++1z -I%S/Inputs/odr_hash-elaborated-types -verify %s
3// RUN: %clang_cc1 -std=c++1z -fmodules -fmodules-local-submodule-visibility -fmodule-map-file=%S/Inputs/odr_hash-elaborated-types/module.modulemap -fmodules-cache-path=%t -x c++ -I%S/Inputs/odr_hash-elaborated-types -verify %s
4
5#include "textual_stat.h"
6
7#include "first.h"
8#include "second.h"
9
10void use() { struct stat value; }
11
12// expected-no-diagnostics
13