cling/test/Prompt/MetaProcessor/InputValidator.C
Axel Naumann e5b63c66a6 Support bare # in input line: (#14109)
fixes #11190.

Co-authored-by: Devajith Valaparambil Sreeramaswamy <devajith.valaparambil.sreeramaswamy@cern.ch>
2024-01-25 15:29:08 +01:00

24 lines
815 B
C

//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TXT for details.
//------------------------------------------------------------------------------
// clang-format off
// RUN: cat %s | %cling | FileCheck %s
"simple"
//CHECK: (const char[7]) "simple"
"It's me"
//CHECK: (const char[8]) "It's me"
"Luke, I'm your (father({}{["
//CHECK: const char[28]) "Luke, I'm your (father({}{["
("http://foo/bar/whatever")
//CHECK: (const char[24]) "http://foo/bar/whatever"
("http://foo.bar/whatever")
//CHECK: (const char[24]) "http://foo.bar/whatever"
#
// CHECK-EMPTY:
.q