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=wasm32-unknown-linux < %s | FileCheck %s
5
6define hidden i32 @"_Z54bar$ompvariant$bar"() {
7; CHECK-LABEL: _Z54bar$ompvariant$bar:
8; CHECK:         .functype _Z54bar$ompvariant$bar () -> (i32)
9; CHECK-NEXT:  # %bb.0: # %entry
10; CHECK-NEXT:    i32.const 2
11; CHECK-NEXT:    # fallthrough-return
12entry:
13  ret i32 2
14}
15