c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / diagnostic-format-json-file-1.c
blobddac780f07b1ee1114cff0fcee66fa4dcc099848
1 /* Check that -fdiagnostics-format=json-file works. */
2 /* { dg-do compile } */
3 /* { dg-options "-fdiagnostics-format=json-file" } */
5 #warning message
7 /* Verify that some JSON was written to a file with the expected name. */
8 /* { dg-final { scan-file "diagnostic-format-json-file-1.c.gcc.json" "\"message\": \"#warning message\"" } } */