xref: /llvm-project/clang/test/Modules/structural-equivalent-recursive-types.c (revision 3466cebe94ba461b296bb1314e76118cc2823dfb)
1*3466cebeSBruno Cardoso Lopes // RUN: rm -rf %t
2*3466cebeSBruno Cardoso Lopes // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/rec-types -fsyntax-only %s -verify
3*3466cebeSBruno Cardoso Lopes #include "a.h"
4*3466cebeSBruno Cardoso Lopes #include "c.h"
foo(struct some_descriptor * st)5*3466cebeSBruno Cardoso Lopes void foo(struct some_descriptor *st) { (void)st->thunk; }
6*3466cebeSBruno Cardoso Lopes 
7*3466cebeSBruno Cardoso Lopes // expected-no-diagnostics
8