1 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - -fsyntax-only %s -verify
3 int& bark(int); // expected-error {{references are unsupported in HLSL}}
4 void meow(int&); // expected-error {{references are unsupported in HLSL}}
5 void chirp(int &&); // expected-error {{references are unsupported in HLSL}}
14 int &Y = X; // expected-error {{references are unsupported in HLSL}}
17 int roar(Foo &F) { // expected-error {{references are unsupported in HLSL}}