clang-1/test/SemaCXX/bool.cpp

8 строки
127 B
C++

// RUN: clang -fsyntax-only -verify %s
// Bool literals can be enum values.
enum {
ReadWrite = false,
ReadOnly = true
};