1 2 3// %CopyrightBegin% 4// 5// Copyright Ericsson AB 1998-2016. All Rights Reserved. 6// 7// Licensed under the Apache License, Version 2.0 (the "License"); 8// you may not use this file except in compliance with the License. 9// You may obtain a copy of the License at 10// 11// http://www.apache.org/licenses/LICENSE-2.0 12// 13// Unless required by applicable law or agreed to in writing, software 14// distributed under the License is distributed on an "AS IS" BASIS, 15// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16// See the License for the specific language governing permissions and 17// limitations under the License. 18// 19// %CopyrightEnd% 20#define str(s) #s 21str(fool); 22str(foo); 23str(kurt); 24#define xstr(s) str(s) 25#define foo 4 26#define kurt sune 27#define sune 17 28 29xstr(fool); 30xstr(foo); 31xstr(kurt); 32 33#define a(b) b #8b 34#define r(b) b # 35#define t(b) b ## a 36a(sinus) 37 38#define ww #www 39ww 40 41#define x 14 + y 42#define y 12 + #x 43x 44 45#define e(a) cosinus(a) 46