(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
diagnostic/
pr58979.C
// PR c++/58979
// { dg-do compile }

int i = 0->*0; // { dg-error "invalid type argument of" }