You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// 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}}
|
|
};
|