1 // { dg-do compile } 2 // { dg-options "-pedantic -std=c++98" } 3 4 enum x { y, }; // { dg-warning "comma at end of enumerator list" } 5