On Jun 4, 2012, at 7:46 PM, Mike Stump wrote:
> g++.dg/other/warning1.C -std=c++11  (test for warnings, line 10)
> g++.dg/other/warning1.C -std=c++11  (test for warnings, line 11)
> g++.dg/other/warning1.C -std=c++11 (test for excess errors)
> g++.dg/other/warning1.C -std=c++98  (test for warnings, line 10)
> g++.dg/other/warning1.C -std=c++98  (test for warnings, line 11)
> g++.dg/other/warning1.C -std=c++98 (test for excess errors)

So, this one is not obvious.  The testcase checks for warning, and the compiler 
generates an error.  Could a C++ maintainer weigh in on it?

Reply via email to