1 /* { dg-do compile } */
2 /* { dg-options "-std=c89 -pedantic -Wno-long-long" } */
3 /* { dg-message "warnings being treated as errors" "" { target *-*-* } 0 } */
4 
5 int i = 0LL;
6 
7 #pragma GCC diagnostic error "-Wlong-long"
8 
9 int j = 1LL; /* { dg-error "long long" } */
10