2 // { dg-options "-fsanitize=null -Wall -Wno-unused-variable -std=c++11" }
4 typedef const long int L;
16 // Try an rvalue reference.
19 // Don't evaluate the reference initializer twice.
27 // { dg-output "reference binding to null pointer of type 'int'(\n|\r\n|\r)" }
28 // { dg-output "\[^\n\r]*reference binding to null pointer of type 'int'(\n|\r\n|\r)" }
29 // { dg-output "\[^\n\r]*reference binding to null pointer of type 'const L'(\n|\r\n|\r)" }
30 // { dg-output "\[^\n\r]*reference binding to null pointer of type 'int'(\n|\r\n|\r)" }