// RUN: %clang_cc1 -triple %itanium_abi_triple-only %s -emit-llvm -o - | FileCheck %s // Test that `annotate_type` does not affect mangled names. int *[[clang::annotate_type("foo")]] f(int *[[clang::annotate_type("foo")]], int [[clang::annotate_type("foo")]]) { return nullptr; } // CHECK: @_Z1fPii template struct S {}; S g(S) { return {}; } // CHECK: @_Z1g1SIPiE