1 // RUN: %clang_cc1 -fsyntax-only %s 2> %t
2 // RUN: FileCheck < %t %s
9 // CHECK: :8:9: warning: shift count >= width of type [-Wshift-count-overflow]
10 // CHECK-NEXT: 8 | int a = M;
12 // CHECK-NEXT: :5:11: note: expanded from macro 'M'
13 // CHECK-NEXT: 5 | #define M \
15 // CHECK-NEXT: :3:14: note: expanded from macro '\
17 // CHECK-NEXT: 3 | #define F (1 << 99)
19 // CHECK-NEXT: :8:9: warning: shift count >= width of type [-Wshift-count-overflow]
20 // CHECK-NEXT: 8 | int a = M;
22 // CHECK-NEXT: :6:5: note: expanded from macro 'M'
23 // CHECK-NEXT: 6 | F | F
25 // CHECK-NEXT: :3:14: note: expanded from macro 'F'
26 // CHECK-NEXT: 3 | #define F (1 << 99)