Compiler projects using llvm
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; Check that we accept functions with '$' in the name.

; RUN: llc -mtriple=avr < %s | FileCheck %s

define hidden i8 @"_Z54bar$ompvariant$bar"() {
; CHECK-LABEL: _Z54bar$ompvariant$bar:
; CHECK:       ; %bb.0: ; %entry
; CHECK-NEXT:    ldi r24, 2
; CHECK-NEXT:    ret
entry:
  ret i8 2
}