1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library %s -ast-dump | FileCheck %s
// CHECK: -FunctionDecl {{.*}} and 'void ()'
void and() {}
// CHECK: -FunctionDecl {{.*}} and_eq 'void ()'
void and_eq() {}
// CHECK: -FunctionDecl {{.*}} bitand 'void ()'
void bitand() {}
// CHECK: -FunctionDecl {{.*}} bitor 'void ()'
void bitor() {}
// CHECK: -FunctionDecl {{.*}} compl 'void ()'
void compl() {}
// CHECK: -FunctionDecl {{.*}} not 'void ()'
void not() {}
// CHECK: -FunctionDecl {{.*}} not_eq 'void ()'
void not_eq() {}
// CHECK: -FunctionDecl {{.*}} or 'void ()'
void or() {}
// CHECK: -FunctionDecl {{.*}} or_eq 'void ()'
void or_eq() {}
// CHECK: -FunctionDecl {{.*}} xor 'void ()'
void xor() {}
// CHECK: -FunctionDecl {{.*}} xor_eq 'void ()'
void xor_eq() {}
|