reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 | // RUN: %clang_analyze_cc1 -analyzer-checker=core.DivideZero -verify %s int fooPR10616 (int qX ) { int a, c, d; d = (qX-1); while ( d != 0 ) { d = c - (c/d) * d; } return (a % (qX-1)); // expected-warning {{Division by zero}} } |