1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; Check that we accept functions with '$' in the name.
3
4; RUN: llc -mtriple=sparc-unknown-linux < %s | FileCheck %s
5
6define hidden i32 @"_Z54bar$ompvariant$bar"() {
7; CHECK-LABEL: _Z54bar$ompvariant$bar:
8; CHECK:         .cfi_startproc
9; CHECK-NEXT:  ! %bb.0: ! %entry
10; CHECK-NEXT:    retl
11; CHECK-NEXT:    mov 2, %o0
12entry:
13  ret i32 2
14}
15