mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 13:58:05 +02:00
These tokens are easy to expand by just looking at the current, tracked location values, (and no need to look anything up in the hash table). Add a test which verifies __LINE__ with several values, (and verifies __FILE__ for the single value of 0). Our testing framework isn't sophisticated enough here to have a test with multiple file inputs. This commit fixes part of es3conform's preprocess16_frag test. Reviewed-by: Matt Turner <mattst88@gmail.com>
7 lines
430 B
C
7 lines
430 B
C
1. Number of dalmations: __LINE__ __FILE__ __LINE__
|
|
2. Nominal visual acuity: __LINE__ __FILE__ / __LINE__ __FILE__
|
|
3. Battle of Thermopylae, as film: __LINE__ __FILE__ __FILE__
|
|
4. HTTP code for "Not Found": __LINE__ __FILE__ __LINE__
|
|
5. Hexadecimal for 20560: __LINE__ __FILE__ __LINE__ __FILE__
|
|
6: Zip code for Nortonville, KS: __LINE__ __LINE__ __FILE__ __LINE__ __FILE__
|
|
7. James Bond, as a number: __FILE__ __FILE__ __LINE__
|