brintos

brintos / llvm-project-archived public Read only

0
0
Text · 802 B · b5567aa Raw
15 lines · plain
1// RUN: %clang_dxc  -Tlib_6_7 -fcgl -Fo - %s -### 2>&1 | FileCheck %s --check-prefix=STDINC2// RUN: %clang -target dxil-pc-shadermodel6.3-library -o - %s -### 2>&1 | FileCheck %s --check-prefix=STDINC3// RUN: %clang_dxc  -Tlib_6_7 -hlsl-no-stdinc -fcgl -Fo - %s -### 2>&1 | FileCheck %s --check-prefix=NOSTDINC4// RUN: %clang -target dxil-pc-shadermodel6.3-library -nostdinc -o - %s -### 2>&1 | FileCheck %s --check-prefix=NOSTDINC5 6// RUN: %clang -cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -ast-dump -o - %s -verify7 8// Make sure hlsl-no-stdinc is translated into finclude-default-header.9// STDINC:"-finclude-default-header"10// NOSTDINC-NOT:"-finclude-default-header"11 12// Make sure uint not work when finclude-default-header is off.13// expected-error@+1 {{unknown type name 'uint'}}14uint a;15