https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99154
Bug ID: 99154
Summary: cout << and triadic issue
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: daffra.claudio at gmail dot com
Target Milestone: ---
file example :
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World : "<< 1?2:3;
return 0;
}
output :
Hello World : 1
expected :
error message for ?2:3 ....
