| 1 | // RUN: %clang_cc1 %s -cl-std=CL2.0 -verify -fsyntax-only |
|---|---|
| 2 | |
| 3 | // expected-no-diagnostics |
| 4 | |
| 5 | // Check redefinition of standard types |
| 6 | typedef atomic_int atomic_flag; |
| 7 |
| 1 | // RUN: %clang_cc1 %s -cl-std=CL2.0 -verify -fsyntax-only |
|---|---|
| 2 | |
| 3 | // expected-no-diagnostics |
| 4 | |
| 5 | // Check redefinition of standard types |
| 6 | typedef atomic_int atomic_flag; |
| 7 |