Home | History | Annotate | Line # | Download | only in lint1
      1  1.2  rillig /*	$NetBSD: emit_lp64.c,v 1.2 2023/03/28 14:44:34 rillig Exp $	*/
      2  1.1  rillig # 3 "emit_lp64.c"
      3  1.1  rillig 
      4  1.1  rillig /*
      5  1.1  rillig  * Test the symbol information that lint1 writes to a .ln file.  Using this
      6  1.1  rillig  * symbol information, lint2 later checks that the symbols are used
      7  1.1  rillig  * consistently across different translation units.
      8  1.1  rillig  *
      9  1.1  rillig  * This test covers large integer types that are only supported on LP64
     10  1.1  rillig  * platforms.
     11  1.1  rillig  */
     12  1.1  rillig 
     13  1.1  rillig // omit the option '-g' to avoid having the GCC builtins in the .ln file.
     14  1.2  rillig /* lint1-flags: -Sw -X 351 */
     15  1.1  rillig 
     16  1.1  rillig /* lint1-only-if: lp64 */
     17  1.1  rillig 
     18  1.1  rillig __int128_t int128(__int128_t);
     19  1.1  rillig __uint128_t uint128(__uint128_t);
     20