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=aarch64-unknown-linux < %s | FileCheck --check-prefix=LINUX %s 5; RUN: llc -mtriple=aarch64-apple-darwin < %s | FileCheck --check-prefix=DARWIN %s 6 7define hidden i32 @"_Z54bar$ompvariant$bar"() { 8; LINUX-LABEL: _Z54bar$ompvariant$bar: 9; LINUX: // %bb.0: // %entry 10; LINUX-NEXT: mov w0, #2 11; LINUX-NEXT: ret 12; 13; DARWIN-LABEL: _Z54bar$ompvariant$bar: 14; DARWIN: ; %bb.0: ; %entry 15; DARWIN-NEXT: mov w0, #2 16; DARWIN-NEXT: ret 17entry: 18 ret i32 2 19} 20