2017-09-29 05:29:18 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
// expected-no-diagnostics
|
2007-02-13 09:52:09 +08:00
|
|
|
|
|
|
|
bool a = true;
|
|
|
|
bool b = false;
|
2017-09-29 05:29:18 +08:00
|
|
|
|
|
|
|
namespace pr34273 {
|
|
|
|
char c = "clang"[true];
|
|
|
|
char d = true["clang"];
|
|
|
|
}
|
|
|
|
|