cxx98-enum.cpp 219 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 // RUN: %clang_cc1 -std=c++98 -verify %s enum E {}; enum F {}; struct A { // OK, this is an enumeration bit-field. enum E : int(0); enum F : int{0}; // expected-error {{expected '(' for function-style cast}} };