| 1 | // RUN: %clang_cc1 -triple spir64 -cl-std=CL2.0 -ast-dump -ast-dump-filter pipetype %s | FileCheck -strict-whitespace %s |
| 2 | typedef pipe int pipetype; |
| 3 | // CHECK: PipeType {{.*}} 'read_only pipe int' |
| 4 | // CHECK-NEXT: BuiltinType {{.*}} 'int' |
| 5 | |
| 6 | typedef read_only pipe int pipetype2; |
| 7 | // CHECK: PipeType {{.*}} 'read_only pipe int' |
| 8 | // CHECK-NEXT: BuiltinType {{.*}} 'int' |
| 9 | |
| 10 | typedef write_only pipe int pipetype3; |
| 11 | // CHECK: PipeType {{.*}} 'write_only pipe int' |
| 12 | // CHECK-NEXT: BuiltinType {{.*}} 'int' |
| 13 | |