1 // RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
2 
3 int* a = nullptr;
4 
5 void f() {
6   int* a = nullptr;
7 }
8 
9 typedef decltype(nullptr) nullptr_t;
10 
11 nullptr_t get_nullptr();
12 
13 struct X { };
14 void g() {
15   // CHECK: call i8* @_Z11get_nullptrv()
16   int (X::*pmf)(int) = get_nullptr();
17 }
18