Re: C-family selftests in language-independant source files

2021-11-05 Thread cohenarthur.dev via Gcc
Hi Dave, On 21/11/05 09:23AM, David Malcolm wrote: > On Fri, 2021-11-05 at 10:38 +0100, cohenarthur.dev via Gcc wrote: > > Hi everyone, > > > > We have been trying to enable the use of selftests for the rust > > frontend > > over at gccrs. While doing this, I have realized that a few tests from >

Re: C-family selftests in language-independant source files

2021-11-05 Thread David Malcolm via Gcc
On Fri, 2021-11-05 at 10:38 +0100, cohenarthur.dev via Gcc wrote: > Hi everyone, > > We have been trying to enable the use of selftests for the rust > frontend > over at gccrs. While doing this, I have realized that a few tests from > language-independant source files such as `opt-problem.c` and >

C-family selftests in language-independant source files

2021-11-05 Thread cohenarthur.dev via Gcc
Hi everyone, We have been trying to enable the use of selftests for the rust frontend over at gccrs. While doing this, I have realized that a few tests from language-independant source files such as `opt-problem.c` and `diagnostic.c` actually rely on the compiler being a C one. For example, one t