1 ; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
2 ; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
4 ; PTX does not support .hidden or .protected.
5 ; Make sure we do not emit them.
7 define hidden void @f_hidden() {
11 ; CHECK: .visible .func f_hidden
13 define protected void @f_protected() {
16 ; CHECK-NOT: .protected
17 ; CHECK: .visible .func f_protected