]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/enum4.C
call.c (struct conversion_info): Rename 'from_type' to 'from'.
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.law / enum4.C
index 6695061210d132fdb44ad64fb87928ef323b4c02..2c36010107b53aa66910e12f559405e9a53de096 100644 (file)
@@ -24,7 +24,6 @@ int main()
   Enum e = enumerator1;
   Struct s;
   int x = funct(e+1);// { dg-error "invalid" }
-  int y = s.getI(e+1);// { dg-error "match" }
-  // { dg-message "candidate" "candidate note" { target *-*-* } 27 }
+  int y = s.getI(e+1);// { dg-error "match|conv" }
   return x+y;
 }