1 // This tests that the sanitize_memtag attribute is
2 // applied when enabling the memtag sanitizer.
4 // needs-sanitizer-memtag
5 // compile-flags: -Zsanitizer=memtag -Ctarget-feature=+mte
9 // CHECK: ; Function Attrs:{{.*}}sanitize_memtag
12 // CHECK: attributes #0 = {{.*}}sanitize_memtag