summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/label5.C
blob: fc611cd4159474bd0e66e82a831194fa548b404b (plain)
1
2
3
4
5
6
// { dg-options "" }
// PR c++/24052

struct A { };
int main() { b: A() && && b; } // { dg-error "A\\(\\) && && *b" }
// { dg-message "candidate|operator&&|no known conversion" "additional" { target *-*-* } 5 }