http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48872
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle dot | |com --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-05-04 18:27:21 UTC --- To be clear, this is what I meant: do you want to test a compile-time, link-time, or run-time problem (to name the most common categories)? Often the former, I suppose, and indeed this is the way your testcases ended up being used in the testsuite in the past in the majority of the cases. In that case no need to add a main (somebody will certainly remove it anyway). For more details: http://gcc.gnu.org/wiki/HowToPrepareATestcase