blob: 4698167449f18586d864fca223e9828b8f998a0f [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// Make sure that we provide the %{build} and %{run} convenience substitutions.
// RUN: %{build}
// RUN: %{run} "HELLO"
#include <cassert>
#include <string>
int main(int argc, char** argv) {
assert(argc == 2);
std::string arg = argv[1];
assert(arg == "HELLO");
return 0;
}