summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/enum-bitfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/enum-bitfield.cpp')
-rw-r--r--test/SemaCXX/enum-bitfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/enum-bitfield.cpp b/test/SemaCXX/enum-bitfield.cpp
index 1a65740..63445ca 100644
--- a/test/SemaCXX/enum-bitfield.cpp
+++ b/test/SemaCXX/enum-bitfield.cpp
@@ -14,5 +14,5 @@ struct X {
struct Y {
enum E : int(2);
- enum E : Z(); // expected-error{{not an integer constant}}
+ enum E : Z(); // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'Z'}}
};
OpenPOWER on IntegriCloud