summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/assign1.C
blob: 1983680dd7ba0e468d01de3ed590bbf459bf7d92 (plain)
1
2
3
4
5
6
7
// PR c++/27716
// { dg-do compile }

int foo()
{
  return i ""= i;  // { dg-error "not declared|string constant" }
}