1; RUN: llc -march=hexagon -hexagon-small-data-threshold=0 < %s | FileCheck %s
2
3@global = external global i32, align 4
4
5; There was a bug causing ### to be printed. Make sure we print ## instead.
6; CHECK-LABEL: foo
7; CHECK: memw(##global) =
8
9define void @foo(i32 %x) #0 {
10entry:
11  %add = add nsw i32 %x, 1
12  store i32 %add, i32* @global, align 4
13  ret void
14}
15
16attributes #0 = { norecurse nounwind }
17
18