brintos

brintos / llvm-project-archived public Read only

0
0
Text · 351 B · 304ce3c Raw
11 lines · cpp
1// RUN: %clang_cc1 -std=c++1z -emit-pch -o %t.1.ast %S/Inputs/function-1.cpp2// RUN: %clang_cc1 -std=c++1z  -ast-merge %t.1.ast -fsyntax-only %s 2>&1 | FileCheck %s3// XFAIL: *4 5static_assert(add(1, 2) == 5);6 7// FIXME: support of templated function overload is still not implemented.8static_assert(add('\1', '\2') == 3);9 10// CHECK-NOT: static_assert11