| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | int *use_new(int N) { |
| 5 | return new int [N]; |
| 6 | } |
| 7 | |
| 8 | int std = 17; |
| 9 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | int *use_new(int N) { |
| 5 | return new int [N]; |
| 6 | } |
| 7 | |
| 8 | int std = 17; |
| 9 |