clang/test/AST/HLSL/semantic-output.hlsl
raw| 1 | // RUN: %clang_cc1 -triple spirv-unknown-vulkan1.3-vertex -finclude-default-header -ast-dump -o - %s | FileCheck %s |
| 2 | // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.8-vertex -finclude-default-header -ast-dump -o - %s | FileCheck %s |
| 3 | |
| 4 | // CHECK: FunctionDecl {{.*}} main 'uint ()' |
| 5 | // CHECK: HLSLParsedSemanticAttr {{.*}} "ABC" 0 |
| 6 | // CHECK: HLSLAppliedSemanticAttr {{.*}} "ABC" 0 |
| 7 | uint main() : ABC { |
| 8 | return 0; |
| 9 | } |