What's wrong with C++? :) Upstream we have 16 .c tests and 106 .cc tests in compiler-rt/lib/tsan/lit_tests. We typically prefer .cc because imo C++ is a better language (even when using what looks like the C subset). But we need some .c tests to make sure that tsan still works w/o C++ run-time.
--kcc On Wed, Dec 11, 2013 at 3:12 PM, Yury Gribov <y.gri...@samsung.com> wrote: >> I guess I can live with it as is, just was wondering why the tests >> were written so carelessly that when they don't really need to test >> any C++ features they are still written in C++. > > Adding Kostya to comment. > > -Y