Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/diagnostic/long-short.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 // { dg-options "-fdiagnostics-show-caret" } | |
2 | |
3 long short int a; // { dg-error "1:.long. and .short. specified together" } | |
4 /* { dg-begin-multiline-output "" } | |
5 long short int a; | |
6 ^~~~ ~~~~~ | |
7 { dg-end-multiline-output "" } */ | |
8 short long int b; // { dg-error "7:.long. and .short. specified together" } | |
9 /* { dg-begin-multiline-output "" } | |
10 short long int b; | |
11 ~~~~~ ^~~~ | |
12 { dg-end-multiline-output "" } */ |