| 1 | // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | |
| 6 | char *a = (void*)(uintptr_t)(void*)&a; |
| 7 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | |
| 6 | char *a = (void*)(uintptr_t)(void*)&a; |
| 7 |