1 // RUN: clang -fsyntax-only -verify %s
2 
3 // Bool literals can be enum values.
4 enum {
5   ReadWrite = false,
6   ReadOnly = true
7 };
8