mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 23:41:18 +00:00
12 lines
179 B
C++
12 lines
179 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
bool a = true;
|
|
bool b = false;
|
|
|
|
namespace pr34273 {
|
|
char c = "clang"[true];
|
|
char d = true["clang"];
|
|
}
|
|
|