[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / macro-prefix-map-lambda.cpp
blob19b2a47a14b646aa448551e42a2901b0dd5a832f
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -fmacro-prefix-map=%p=./UNLIKELY_PATH/empty %s -emit-llvm -o - | FileCheck %s
3 template<typename f>
4 auto lambdatest(f&& cb) {
5 const char *s = __PRETTY_FUNCTION__;
6 return s;
9 int main() {
10 auto *s = lambdatest([](){});
11 // CHECK: @"__PRETTY_FUNCTION__._Z10lambdatestIZ4mainE3$_0EDaOT_" = private unnamed_addr constant [{{[0-9]+}} x i8] c"auto lambdatest(f &&) [f = (lambda at ./UNLIKELY_PATH/empty{{/|\\\\}}{{.*}}.cpp:[[#@LINE-1]]:24)]\00", align {{[0-9]+}}
13 return 0;