blob: 059ced6cbc2c523d5e4dd8f6c5729cc54099b51d [file] [log] [blame]
// RUN: %clang --driver-mode=dxc -Tlib_6_x -fcgl -Fo - %s | FileCheck %s
// Make sure not mangle entry.
// CHECK:define void @foo()
// Make sure add function attribute.
// CHECK:"dx.shader"="compute"
[shader("compute")]
[numthreads(1,1,1)]
void foo() {
}