• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 // Make sure we have access to the following substitutions at all times:
10 // - %{cxx}
11 // - %{flags}
12 // - %{compile_flags}
13 // - %{link_flags}
14 // - %{exec}
15 
16 // RUN: %{cxx} %s %{flags} %{compile_flags} %{link_flags} -o %t.exe
17 // RUN: %{exec} %t.exe
18 
19 #include <cassert>
20 
main(int argc,char **)21 int main(int argc, char**) {
22   assert(argc == 1);
23   return 0;
24 }
25