2 // { dg-options "-pedantic -Wno-deprecated" }
3 // This code snippet should be rejected with -pedantic
4 // Based on a test case by Louidor Erez <s3824888@techst02.technion.ac.il>
16 Vector<T>::iterator i = 0; // { dg-error "typename" } missing typename
17 } // { dg-error "expected" "" { target *-*-* } 16 }